[Webkit-unassigned] [Bug 95929] New: renderer()->view() is null

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 5 21:06:34 PDT 2012


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

           Summary: renderer()->view() is null
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: snyh at snyh.org


in the begin of function "RenderLayer::convertToLayerCoord"

-----------------------------------------------------
   if (position == FixedPosition && !renderer()->inRenderFlowThread() && (!ancestorLayer || ancestorLayer == renderer()->view()->layer())) {
        // If the fixed layer's container is the root, just add in the offset of the view. We can obtain this by calling
        // localToAbsolute() on the RenderView.
        FloatPoint absPos = renderer()->localToAbsolute(FloatPoint(), true);
        location += LayoutSize(absPos.x(), absPos.y());
        return;
    }
------------------------------------------------------


renderer()->view()  may be null when this layer hasn't destroy.

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