Title: [127096] trunk/Source/WebCore
Revision
127096
Author
[email protected]
Date
2012-08-29 21:33:11 -0700 (Wed, 29 Aug 2012)

Log Message

[Qt] REGRESSION(r126694): It broke the debug build
https://bugs.webkit.org/show_bug.cgi?id=95037

Unreviewed trivial build fix for debug builds.

Don't pass WTFStrings through printf, use .ascii().data().

Patch by Simon Hausmann <[email protected]> on 2012-08-29

* platform/graphics/texmap/TextureMapperShaderManager.cpp:
(WebCore::StandardFilterProgram::StandardFilterProgram):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (127095 => 127096)


--- trunk/Source/WebCore/ChangeLog	2012-08-30 04:08:37 UTC (rev 127095)
+++ trunk/Source/WebCore/ChangeLog	2012-08-30 04:33:11 UTC (rev 127096)
@@ -1,3 +1,15 @@
+2012-08-29  Simon Hausmann  <[email protected]>
+
+        [Qt] REGRESSION(r126694): It broke the debug build
+        https://bugs.webkit.org/show_bug.cgi?id=95037
+
+        Unreviewed trivial build fix for debug builds.
+
+        Don't pass WTFStrings through printf, use .ascii().data().
+
+        * platform/graphics/texmap/TextureMapperShaderManager.cpp:
+        (WebCore::StandardFilterProgram::StandardFilterProgram):
+
 2012-08-29  Rafael Brandao  <[email protected]>
 
         Fix assertion on Document::recalcStyle to not recalc style while painting

Modified: trunk/Source/WebCore/platform/graphics/texmap/TextureMapperShaderManager.cpp (127095 => 127096)


--- trunk/Source/WebCore/platform/graphics/texmap/TextureMapperShaderManager.cpp	2012-08-30 04:08:37 UTC (rev 127095)
+++ trunk/Source/WebCore/platform/graphics/texmap/TextureMapperShaderManager.cpp	2012-08-30 04:33:11 UTC (rev 127096)
@@ -607,7 +607,7 @@
 #if !LOG_DISABLED
     String log;
     m_context->getShaderInfoLog(fragmentShader);
-    WTFLog(&LogCompositing, "%s\n", log);
+    WTFLog(&LogCompositing, "%s\n", log.ascii().data());
 #endif
     m_context->attachShader(programID, vertexShader);
     m_context->attachShader(programID, fragmentShader);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to