Changeset 131473 in webkit


Ignore:
Timestamp:
Oct 16, 2012, 10:41:52 AM (13 years ago)
Author:
rwlbuis@webkit.org
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r131471 r131473  
     12012-10-16  Rob Buis  <rbuis@rim.com>
     2
     3        [BlackBerry] replace BlackBerry::Platform::log() with BBLOG()
     4        https://bugs.webkit.org/show_bug.cgi?id=99302
     5
     6        Reviewed by Yong Li.
     7
     8        Fix a warning introduced by r131335. Since in release BBLOG is empty, only enable this block in debug builds.
     9
     10        * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
     11        (WebCore::GraphicsContext3D::compileShader):
     12
    1132012-10-16  Antoine Quint  <graouts@apple.com>
    214
  • trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp

    r131335 r131473  
    478478    // ASSERT that ANGLE generated GLSL will be accepted by OpenGL.
    479479    ASSERT(GLCompileSuccess == GL_TRUE);
    480 #if PLATFORM(BLACKBERRY)
     480#if PLATFORM(BLACKBERRY) && !defined(NDEBUG)
    481481    if (GLCompileSuccess != GL_TRUE)
    482482        BBLOG(BlackBerry::Platform::LogLevelWarn, "The shader validated, but didn't compile.\n");
Note: See TracChangeset for help on using the changeset viewer.