Title: [87750] trunk/Source/WebCore
Revision
87750
Author
[email protected]
Date
2011-05-31 14:02:28 -0700 (Tue, 31 May 2011)

Log Message

2011-05-31  Stephen White  <[email protected]>

        Unreviewed; build fix.

        Silence some warnings on the Safari/Mac release build.

        * platform/graphics/gpu/TilingData.h:
        (WebCore::TilingData::assertTile):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (87749 => 87750)


--- trunk/Source/WebCore/ChangeLog	2011-05-31 20:53:21 UTC (rev 87749)
+++ trunk/Source/WebCore/ChangeLog	2011-05-31 21:02:28 UTC (rev 87750)
@@ -1,3 +1,12 @@
+2011-05-31  Stephen White  <[email protected]>
+
+        Unreviewed; build fix.
+
+        Silence some warnings on the Safari/Mac release build.
+
+        * platform/graphics/gpu/TilingData.h:
+        (WebCore::TilingData::assertTile):
+
 2011-05-31  Justin Novosad  <[email protected]>
 
         Reviewed by Stephen White.

Modified: trunk/Source/WebCore/platform/graphics/gpu/TilingData.h (87749 => 87750)


--- trunk/Source/WebCore/platform/graphics/gpu/TilingData.h	2011-05-31 20:53:21 UTC (rev 87749)
+++ trunk/Source/WebCore/platform/graphics/gpu/TilingData.h	2011-05-31 21:02:28 UTC (rev 87750)
@@ -78,7 +78,11 @@
 
 private:
     TilingData() : m_maxTextureSize(0), m_totalSizeX(0), m_totalSizeY(0) {}
+#ifndef NDEBUG
     void assertTile(int tile) const { ASSERT(tile >= 0 && tile < numTiles()); }
+#else
+    void assertTile(int) const {}
+#endif
     void recomputeNumTiles();
 
     int m_maxTextureSize;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to