2008-01-06 Alp Toker <alp@atoker.com>
authoralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 6 Jan 2008 08:48:10 +0000 (08:48 +0000)
committeralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 6 Jan 2008 08:48:10 +0000 (08:48 +0000)
commit26ceb6321199bfb1c11f834bceb09f494bcc3ba2
treef03f766f5694a426dfabdb1ff548f70ce2ba0e9e
parent13721fa5afa114bf712fef081735d9c20bc9d228
2008-01-06  Alp Toker  <alp@atoker.com>

        Reviewed by Eric.

        Cairo canvas refcounting fix. Reference the surface in the constructor
        to match its destruction in the destructor.

        Fixes a crash triggered by leaving this page:
          http://philip.html5.org/tests/canvas/misc/globalalpha-pattern.html

        * html/CanvasPattern.cpp:
        (WebCore::CanvasPattern::CanvasPattern):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/html/CanvasPattern.cpp