summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/WebViewCore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/jni/WebViewCore.cpp')
-rw-r--r--WebKit/android/jni/WebViewCore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebKit/android/jni/WebViewCore.cpp b/WebKit/android/jni/WebViewCore.cpp
index aa96b18..3ede30a 100644
--- a/WebKit/android/jni/WebViewCore.cpp
+++ b/WebKit/android/jni/WebViewCore.cpp
@@ -1659,7 +1659,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());
}
@@ -2617,7 +2617,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)