[Qt] Push the new viewport rect to the drawing area when committing the scale.
Created attachment 100970 [details] Patch
Comment on attachment 100970 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=100970&action=review > Source/WebKit2/UIProcess/API/qt/qtouchwebpage.cpp:130 > page->setContentsScale(q->scale()); > + viewport->d->viewportRectUpdated(); I am wondering, when we have suspend/resume working we could update this (and visibleContentRect) when resuming.
I would prefer if the page was not calling functions on the viewport. I am always afraid of coming back to the old code where every class knew about the internal of every other classes. It feels like TouchViewInterface might be the right place to call viewportRectUpdated()?
Created attachment 100984 [details] Patch Simpler patch after removing the scale commit timer (see bug 64600).
Comment on attachment 100984 [details] Patch Nice.
Committed r91182: <http://trac.webkit.org/changeset/91182>