Currently after webkit merge, the content width/height is only
for visible area.
issue:
4672075
Change-Id: Ib7d51119a59131f1443a3c0d59980a8da34b4173
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();