diff options
author | Chris Craik <ccraik@google.com> | 2012-02-28 13:14:04 -0800 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2012-02-28 13:14:04 -0800 |
commit | 0e76831e19d037a6f5340785794d8145c6eae5ac (patch) | |
tree | 1dcd307d754c2fd194480202c3e2221393ab70fa | |
parent | 7adab1830575d4438d058b5d7f6e932e97451c56 (diff) | |
download | external_webkit-0e76831e19d037a6f5340785794d8145c6eae5ac.zip external_webkit-0e76831e19d037a6f5340785794d8145c6eae5ac.tar.gz external_webkit-0e76831e19d037a6f5340785794d8145c6eae5ac.tar.bz2 |
plugin centering - use correct Y coord
Change-Id: Id0ac69f708b15ea03022c8ce9ca3d3c12f1ed307
-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() { |