OSDN Git Service

Use native weak references instead of our wrapper.
authorPatrick Scott <phanna@android.com>
Thu, 22 Oct 2009 16:14:01 +0000 (12:14 -0400)
committerPatrick Scott <phanna@android.com>
Tue, 27 Oct 2009 17:10:30 +0000 (13:10 -0400)
commit3bce2a57ea5b637c5c69fb036f59b291750e4d91
treec6257635b08a7ff451cdaa46ef476ccbea89bcd1
parentbf4ccafd4d80b2302bae36bacfd6a6df5d2d0fff
Use native weak references instead of our wrapper.

Revert "Add check null of getRealObject(). When a WebView is"
This reverts commit b47ea2b1184167767692f88c1e5f3e4e89db04b2.

Revert "Update the comment for checking null in needtouchevents."
This reverts commit 1e67e45d20ead40b0407618abbc5e20840dc3c80.

Revert "Check null for WebViewCore's nativeClass before calling"
This reverts commit 992afbebfb735ec2dd52b4166c22ab55827d88ed.

Fix a few places where DeleteLocalRef and DeleteGlobalRef were used incorrectly.
Fix a compilation warning as well.
WebKit/android/jni/JavaBridge.cpp
WebKit/android/jni/WebCoreFrameBridge.cpp
WebKit/android/jni/WebCoreJni.cpp
WebKit/android/jni/WebCoreJni.h
WebKit/android/jni/WebCoreJniOnLoad.cpp
WebKit/android/jni/WebHistory.cpp
WebKit/android/jni/WebHistory.h
WebKit/android/jni/WebViewCore.cpp
WebKit/android/nav/WebView.cpp