From b98c772f6b9ef7a1eef75d3e678de67edfdde463 Mon Sep 17 00:00:00 2001 From: Andrei Popescu Date: Mon, 17 Aug 2009 15:59:08 +0100 Subject: WebViewCore fix --- WebKit/android/jni/WebViewCore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'WebKit/android') 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) -- cgit v1.1