OSDN Git Service

Fixes a leaked JNI local reference in MIMETypeRegistry::getMIMETypeForExtension
authorSteve Block <steveblock@google.com>
Thu, 4 Mar 2010 16:37:50 +0000 (16:37 +0000)
committerSteve Block <steveblock@google.com>
Fri, 5 Mar 2010 18:20:54 +0000 (18:20 +0000)
commit5fcdce675339c5c2cee9cf7890b84a4029c82501
tree4baa942a1717eb6f5b23969811b0d3ca7aba74f5
parent4c323f8a0dc77cccc10310a0509b52e8aba221ef
Fixes a leaked JNI local reference in MIMETypeRegistry::getMIMETypeForExtension

This method was leaking a Java class object. This caused layout test
fast/dom/prototype-inheritance-2.html to crash because the VM ran out of local
references.

Bug: 2218794
Change-Id: I15d6bb8bf16ec58ecd6470ef63e6cd3635d766ef
WebKit/android/jni/MIMETypeRegistry.cpp