diff options
author | Andrei Popescu <andreip@google.com> | 2009-08-17 15:59:08 +0100 |
---|---|---|
committer | Andrei Popescu <andreip@google.com> | 2009-08-17 15:59:08 +0100 |
commit | b98c772f6b9ef7a1eef75d3e678de67edfdde463 (patch) | |
tree | e0c48faa792f25d9eeaeeb1ee9d1b722a1912f73 /WebKit | |
parent | fcd645603bccba6947d87b3d4200fe124325162f (diff) | |
download | external_webkit-b98c772f6b9ef7a1eef75d3e678de67edfdde463.zip external_webkit-b98c772f6b9ef7a1eef75d3e678de67edfdde463.tar.gz external_webkit-b98c772f6b9ef7a1eef75d3e678de67edfdde463.tar.bz2 |
WebViewCore fix
Diffstat (limited to 'WebKit')
-rw-r--r-- | WebKit/android/jni/WebViewCore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebKit/android/jni/WebViewCore.cpp b/WebKit/android/jni/WebViewCore.cpp index 973e317..8e56fcc 100644 --- a/WebKit/android/jni/WebViewCore.cpp +++ b/WebKit/android/jni/WebViewCore.cpp @@ -1639,7 +1639,7 @@ public: // listToOptionIndex is public. SelectElement* selectElement = m_select; int optionIndex = selectElement->listToOptionIndex(index); - m_select->setSelectedIndex(optionIndex, true, false); + m_select->setSelectedIndex(optionIndex, true); m_select->dispatchFormControlChangeEvent(); m_viewImpl->contentInvalidate(m_select->getRect()); } @@ -2558,7 +2558,7 @@ static void RegisterURLSchemeAsLocal(JNIEnv* env, jobject obj, jstring scheme) { #ifdef ANDROID_INSTRUMENT TimeCounterAuto counter(TimeCounter::WebViewCoreTimeCounter); #endif - WebCore::FrameLoader::registerURLSchemeAsLocal(to_string(env, scheme)); + WebCore::SecurityOrigin::registerURLSchemeAsLocal(to_string(env, scheme)); } static void ClearContent(JNIEnv *env, jobject obj) |