[Webkit-unassigned] [Bug 82500] New: Remove redundant updateViewportArguments() call when page is restored from page cache.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 28 12:06:46 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=82500

           Summary: Remove redundant updateViewportArguments() call when
                    page is restored from page cache.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zbujtas at gmail.com


When the page is restored from the page cache, Document::updateViewportArguments() is called twice. Once when the document is set (restored) on the mainframe, and once the Page Cache signals restore complete.
Viewport arguments don't change between the 2 calls, so it's enough to update them only once.
Fix: remove updateViewportArguments() from Document::documentDidResumeFromPageCache()

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list