diff options
author | Shimeng (Simon) Wang <swang@google.com> | 2011-06-28 18:18:47 -0700 |
---|---|---|
committer | Shimeng (Simon) Wang <swang@google.com> | 2011-06-28 18:18:47 -0700 |
commit | 0f75d6be298fed21695112a14351eae2ebb6d3bb (patch) | |
tree | 3e966baeec33c3a838e0cab51f86bced5ff6f0ee | |
parent | d9c043f5b157fbcaeb9d1b8981993e184df0e3ed (diff) | |
download | external_webkit-0f75d6be298fed21695112a14351eae2ebb6d3bb.zip external_webkit-0f75d6be298fed21695112a14351eae2ebb6d3bb.tar.gz external_webkit-0f75d6be298fed21695112a14351eae2ebb6d3bb.tar.bz2 |
Use full scrollable area for content width/height.
Currently after webkit merge, the content width/height is only
for visible area.
issue: 4672075
Change-Id: Ib7d51119a59131f1443a3c0d59980a8da34b4173
-rw-r--r-- | Source/WebKit/android/nav/CacheBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/android/nav/CacheBuilder.cpp b/Source/WebKit/android/nav/CacheBuilder.cpp index a31169b..3ec15f3 100644 --- a/Source/WebKit/android/nav/CacheBuilder.cpp +++ b/Source/WebKit/android/nav/CacheBuilder.cpp @@ -2893,7 +2893,7 @@ bool CacheBuilder::setData(CachedFrame* cachedFrame) if ((x | y) != 0) viewBounds.setLocation(WebCore::IntPoint(x, y)); cachedFrame->setLocalViewBounds(viewBounds); - cachedFrame->setContentsSize(layer->width(), layer->height()); + cachedFrame->setContentsSize(layer->scrollWidth(), layer->scrollHeight()); if (cachedFrame->childCount() == 0) return true; CachedFrame* lastCachedFrame = cachedFrame->lastChild(); |