Changeset 83853 in webkit
- Timestamp:
- Apr 14, 2011 6:59:41 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r83851 r83853 1 2011-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 1 16 2011-04-14 Andrey Kosyakov <caseq@chromium.org> 2 17 -
trunk/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp
r83834 r83853 595 595 String nameWithExt = proc + ext[i]; 596 596 597 void* addr = m_glWidget->context()->getProcAddress( nameWithExt.utf8().data());597 void* addr = m_glWidget->context()->getProcAddress(QString(nameWithExt)); 598 598 if (addr) 599 599 return addr; … … 663 663 void GraphicsContext3D::reshape(int width, int height) 664 664 { 665 if ( width == m_currentWidth && height == m_currentHeight|| (!m_internal))665 if ((width == m_currentWidth && height == m_currentHeight) || (!m_internal)) 666 666 return; 667 667
Note: See TracChangeset
for help on using the changeset viewer.