[iOS][WK2] Make dynamic viewport size update content aware
Created attachment 229705 [details] Patch
Comment on attachment 229705 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=229705&action=review > Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm:1777 > + m_dynamicSizeUpdateHistory.add(std::pair<IntSize, float>(oldContentSize, oldPageScaleFactor), IntPoint(frameView.scrollOffset())); I think you can use make_pair with no template arguments? > Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm:1794 > + Frame& containingFrame = *node->document().frame(); why the containingFrame temporary? > Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm:1848 > + const auto& previousPosition = m_dynamicSizeUpdateHistory.find(std::pair<IntSize, float>(newContentSize, scale)); ditto
Committed r167614: <http://trac.webkit.org/changeset/167614>