summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/nav/WebView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/android/nav/WebView.cpp')
-rw-r--r--Source/WebKit/android/nav/WebView.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp
index eb7562a..09a8e7d 100644
--- a/Source/WebKit/android/nav/WebView.cpp
+++ b/Source/WebKit/android/nav/WebView.cpp
@@ -2534,6 +2534,10 @@ static void nativeSetProperty(JNIEnv *env, jobject obj, jstring jkey, jstring jv
else
TilesManager::instance()->setInvertedScreen(false);
}
+ if (key == "gfxInvertedScreenContrast") {
+ float contrast = value.toFloat();
+ TilesManager::instance()->setInvertedScreenContrast(contrast);
+ }
}
static jstring nativeGetProperty(JNIEnv *env, jobject obj, jstring key)