Title: [131473] trunk/Source/WebCore
- Revision
- 131473
- Author
- [email protected]
- Date
- 2012-10-16 10:41:52 -0700 (Tue, 16 Oct 2012)
Log Message
[BlackBerry] replace BlackBerry::Platform::log() with BBLOG()
https://bugs.webkit.org/show_bug.cgi?id=99302
Reviewed by Yong Li.
Fix a warning introduced by r131335. Since in release BBLOG is empty, only enable this block in debug builds.
* platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
(WebCore::GraphicsContext3D::compileShader):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (131472 => 131473)
--- trunk/Source/WebCore/ChangeLog 2012-10-16 17:41:17 UTC (rev 131472)
+++ trunk/Source/WebCore/ChangeLog 2012-10-16 17:41:52 UTC (rev 131473)
@@ -1,3 +1,15 @@
+2012-10-16 Rob Buis <[email protected]>
+
+ [BlackBerry] replace BlackBerry::Platform::log() with BBLOG()
+ https://bugs.webkit.org/show_bug.cgi?id=99302
+
+ Reviewed by Yong Li.
+
+ Fix a warning introduced by r131335. Since in release BBLOG is empty, only enable this block in debug builds.
+
+ * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
+ (WebCore::GraphicsContext3D::compileShader):
+
2012-10-16 Antoine Quint <[email protected]>
Inspector should allow reading the compositing debug settings
Modified: trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp (131472 => 131473)
--- trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp 2012-10-16 17:41:17 UTC (rev 131472)
+++ trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp 2012-10-16 17:41:52 UTC (rev 131473)
@@ -477,7 +477,7 @@
// ASSERT that ANGLE generated GLSL will be accepted by OpenGL.
ASSERT(GLCompileSuccess == GL_TRUE);
-#if PLATFORM(BLACKBERRY)
+#if PLATFORM(BLACKBERRY) && !defined(NDEBUG)
if (GLCompileSuccess != GL_TRUE)
BBLOG(BlackBerry::Platform::LogLevelWarn, "The shader validated, but didn't compile.\n");
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes