[Qt] clipToImageBuffer assertion fix in debug mode on Qt.
authorzherczeg@webkit.org <zherczeg@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Feb 2012 09:56:58 +0000 (09:56 +0000)
committerzherczeg@webkit.org <zherczeg@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Feb 2012 09:56:58 +0000 (09:56 +0000)
Rubber stamped by Csaba Osztrogonác.

* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::restorePlatformState):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108466 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp

index 3719bb2..e2cbfb5 100644 (file)
@@ -1,3 +1,12 @@
+2012-02-22  Zoltan Herczeg  <zherczeg@webkit.org>
+
+        [Qt] clipToImageBuffer assertion fix in debug mode on Qt.
+
+        Rubber stamped by Csaba Osztrogonác.
+
+        * platform/graphics/qt/GraphicsContextQt.cpp:
+        (WebCore::GraphicsContext::restorePlatformState):
+
 2012-02-22  Adam Barth  <abarth@webkit.org>
 
         [GTK] fast/frames/frame-dead-region.html crash
index 90079ee..d07d732 100644 (file)
@@ -301,7 +301,7 @@ void GraphicsContext::restorePlatformState()
 {
     if (!m_data->layers.isEmpty() && !m_data->layers.top()->alphaMask.isNull())
         if (!--m_data->layers.top()->saveCounter)
-            endTransparencyLayer();
+            endPlatformTransparencyLayer();
 
     m_data->p()->restore();