Title: [121347] trunk/Source/WebCore
Revision
121347
Author
[email protected]
Date
2012-06-27 10:22:30 -0700 (Wed, 27 Jun 2012)

Log Message

REGRESSION(r121296): New zero-size background tests asserting on Mac.
<http://webkit.org/b/90071>

Reviewed by Dan Bernstein.

Remove ASSERT(patternTransform.isInvertible()) as this is now a valid scenario.

* platform/graphics/cg/ImageCG.cpp:
(WebCore::Image::drawPattern):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (121346 => 121347)


--- trunk/Source/WebCore/ChangeLog	2012-06-27 16:55:51 UTC (rev 121346)
+++ trunk/Source/WebCore/ChangeLog	2012-06-27 17:22:30 UTC (rev 121347)
@@ -1,3 +1,15 @@
+2012-06-27  Andreas Kling  <[email protected]>
+
+        REGRESSION(r121296): New zero-size background tests asserting on Mac.
+        <http://webkit.org/b/90071>
+
+        Reviewed by Dan Bernstein.
+
+        Remove ASSERT(patternTransform.isInvertible()) as this is now a valid scenario.
+
+        * platform/graphics/cg/ImageCG.cpp:
+        (WebCore::Image::drawPattern):
+
 2012-06-27  Shinya Kawanaka  <[email protected]>
 
         HTMLStyleElement::removedFrom seems incorrect.

Modified: trunk/Source/WebCore/platform/graphics/cg/ImageCG.cpp (121346 => 121347)


--- trunk/Source/WebCore/platform/graphics/cg/ImageCG.cpp	2012-06-27 16:55:51 UTC (rev 121346)
+++ trunk/Source/WebCore/platform/graphics/cg/ImageCG.cpp	2012-06-27 17:22:30 UTC (rev 121347)
@@ -229,9 +229,7 @@
     if (!nativeImageForCurrentFrame())
         return;
 
-    ASSERT(patternTransform.isInvertible());
     if (!patternTransform.isInvertible())
-        // Avoid a hang under CGContextDrawTiledImage on release builds.
         return;
 
     CGContextRef context = ctxt->platformContext();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to