[Webkit-unassigned] [Bug 114172] New: [BlackBerry] More null checks for m_mainFrame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 8 09:00:17 PDT 2013


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

           Summary: [BlackBerry] More null checks for m_mainFrame
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: ASSIGNED
          Severity: Normal
          Priority: P2
         Component: WebKit BlackBerry
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jpetsovits at blackberry.com
                CC: rwlbuis at gmail.com, anilsson at rim.com


After r147744, some unit tests were crashing on WebPage shutdown, because BackingStorePrivate::repaint() now uses pixelContentsRect() (accessing m_webPage->contentsRect()) instead of BackingStoreClient::contentsRect() (which wrapped the frame separately). In m_webPage, m_mainFrame had already been set to 0.

Make us more robust against these errors by checking the existence of m_mainFrame more diligently. Patch below.

-- 
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