summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2009-06-24 13:39:19 -0400
committerMike Reed <reed@google.com>2009-06-24 16:41:52 -0400
commit60feb0579c2d9cafa9d48b8d01ccdb7d1173d54d (patch)
treebaab42d8271d7c13e9f502dabaaec89870eca00f /WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
parent88cd03d406af27608137117016ebbbbeb7929403 (diff)
downloadexternal_webkit-60feb0579c2d9cafa9d48b8d01ccdb7d1173d54d.zip
external_webkit-60feb0579c2d9cafa9d48b8d01ccdb7d1173d54d.tar.gz
external_webkit-60feb0579c2d9cafa9d48b8d01ccdb7d1173d54d.tar.bz2
add zoom field to visibleRect event
Diffstat (limited to 'WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp')
-rw-r--r--WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
index 0f0509d..2bc8619 100644
--- a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
+++ b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
@@ -704,7 +704,8 @@ void FrameLoaderClientAndroid::saveViewStateToItem(HistoryItem* item) {
ASSERT(bridge);
// store the current scale (only) for the top frame
if (!m_frame->tree()->parent()) {
- bridge->setScale(WebViewCore::getWebViewCore(m_frame->view())->scale());
+ float scale = WebViewCore::getWebViewCore(m_frame->view())->scale();
+ bridge->setScale((int)(scale * 100));
}
WebCore::notifyHistoryItemChanged(item);