diff options
author | Nicolas Roard <nicolasroard@google.com> | 2011-08-03 16:54:50 -0700 |
---|---|---|
committer | Nicolas Roard <nicolasroard@google.com> | 2011-08-03 16:55:46 -0700 |
commit | ef238925ea0ba6305e4540aff5c6953503993f3b (patch) | |
tree | 8b28f0365fb74767d383969926c1fb1701a00229 | |
parent | 2c05b037dcbc9de2f41781747422c2098c42c16e (diff) | |
download | external_webkit-ef238925ea0ba6305e4540aff5c6953503993f3b.zip external_webkit-ef238925ea0ba6305e4540aff5c6953503993f3b.tar.gz external_webkit-ef238925ea0ba6305e4540aff5c6953503993f3b.tar.bz2 |
Change the constants used for the inverted preferences
to match the ones sent by the Browser
bug:5111259
Change-Id: I3d7c0d94d61e173915ab6ec01f42778182462064
-rw-r--r-- | Source/WebKit/android/nav/WebView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp index 09a8e7d..cf6cd65 100644 --- a/Source/WebKit/android/nav/WebView.cpp +++ b/Source/WebKit/android/nav/WebView.cpp @@ -2528,13 +2528,13 @@ static void nativeSetProperty(JNIEnv *env, jobject obj, jstring jkey, jstring jv { WTF::String key = jstringToWtfString(env, jkey); WTF::String value = jstringToWtfString(env, jvalue); - if (key == "gfxInvertedScreen") { + if (key == "inverted") { if (value == "true") TilesManager::instance()->setInvertedScreen(true); else TilesManager::instance()->setInvertedScreen(false); } - if (key == "gfxInvertedScreenContrast") { + if (key == "inverted_contrast") { float contrast = value.toFloat(); TilesManager::instance()->setInvertedScreenContrast(contrast); } |