diff options
author | Chris Craik <ccraik@google.com> | 2012-02-28 13:58:34 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-02-28 13:58:34 -0800 |
commit | 3308b481689e8e34c7a62c580685c4ab1cfb2f48 (patch) | |
tree | 5b22c4c5e187aeff0d737511abb2fa640dcd9e70 | |
parent | 32853d2fe74af5fd677d1d62a46086b9bd26c9c3 (diff) | |
parent | 0e76831e19d037a6f5340785794d8145c6eae5ac (diff) | |
download | external_webkit-3308b481689e8e34c7a62c580685c4ab1cfb2f48.zip external_webkit-3308b481689e8e34c7a62c580685c4ab1cfb2f48.tar.gz external_webkit-3308b481689e8e34c7a62c580685c4ab1cfb2f48.tar.bz2 |
Merge "plugin centering - use correct Y coord"
-rw-r--r-- | Source/WebKit/android/plugins/PluginWidgetAndroid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/android/plugins/PluginWidgetAndroid.cpp b/Source/WebKit/android/plugins/PluginWidgetAndroid.cpp index fc98837..d0af1a5 100644 --- a/Source/WebKit/android/plugins/PluginWidgetAndroid.cpp +++ b/Source/WebKit/android/plugins/PluginWidgetAndroid.cpp @@ -596,9 +596,9 @@ void PluginWidgetAndroid::scrollToVisiblePluginRect() { android::WebViewCore* core = android::WebViewCore::getWebViewCore(scrollView); #if DEBUG_VISIBLE_RECTS PLUGIN_LOG("%s call scrollTo (%d,%d) to center (%d,%d)", __FUNCTION__, - scrollDocX, scrollDocX, rectCenterX, rectCenterY); + scrollDocX, scrollDocY, rectCenterX, rectCenterY); #endif - core->scrollTo(scrollDocX, scrollDocX, true); + core->scrollTo(scrollDocX, scrollDocY, true); } void PluginWidgetAndroid::requestFullScreen() { |