[Webkit-unassigned] [Bug 19592] New: Mismatched GraphicsContext::save()/restore() pairs in shadow painting code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 16 12:12:03 PDT 2008


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

           Summary: Mismatched GraphicsContext::save()/restore() pairs in
                    shadow painting code
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jonathon.jongsma at collabora.co.uk


If you look at the following code, you'll notice two calls to context->save()
with only a single restore() at teh end of the function.  The context is not
modified at all between the two calls to save(), so I think the first one is
useless and will lead to mismatched save/restore pairs.
http://trac.webkit.org/browser/trunk/WebCore/rendering/InlineFlowBox.cpp#L934


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



More information about the webkit-unassigned mailing list