Changeset 83853 in webkit


Ignore:
Timestamp:
Apr 14, 2011 6:59:41 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-04-14 Andrew Wason <rectalogic@rectalogic.com>

Reviewed by Andreas Kling.

Fix GraphicsContext3DQt.cpp compilation warnings treated as errors
https://bugs.webkit.org/show_bug.cgi?id=58478

No new tests.

  • platform/graphics/qt/GraphicsContext3DQt.cpp: (WebCore::GraphicsContext3DInternal::getProcAddress): Do not use deprecated QString constructor to avoid warning. (WebCore::GraphicsContext3D::reshape): Use parenthesis to avoid warning.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r83851 r83853  
     12011-04-14  Andrew Wason  <rectalogic@rectalogic.com>
     2
     3        Reviewed by Andreas Kling.
     4
     5        Fix GraphicsContext3DQt.cpp compilation warnings treated as errors
     6        https://bugs.webkit.org/show_bug.cgi?id=58478
     7
     8        No new tests.
     9
     10        * platform/graphics/qt/GraphicsContext3DQt.cpp:
     11        (WebCore::GraphicsContext3DInternal::getProcAddress):
     12         Do not use deprecated QString constructor to avoid warning.
     13        (WebCore::GraphicsContext3D::reshape):
     14         Use parenthesis to avoid warning.
     15
    1162011-04-14  Andrey Kosyakov  <caseq@chromium.org>
    217
  • trunk/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp

    r83834 r83853  
    595595        String nameWithExt = proc + ext[i];
    596596
    597         void* addr = m_glWidget->context()->getProcAddress(nameWithExt.utf8().data());
     597        void* addr = m_glWidget->context()->getProcAddress(QString(nameWithExt));
    598598        if (addr)
    599599            return addr;
     
    663663void GraphicsContext3D::reshape(int width, int height)
    664664{
    665     if (width == m_currentWidth && height == m_currentHeight || (!m_internal))
     665    if ((width == m_currentWidth && height == m_currentHeight) || (!m_internal))
    666666        return;
    667667
Note: See TracChangeset for help on using the changeset viewer.