Changeset 91155 in webkit


Ignore:
Timestamp:
Jul 16, 2011 4:01:46 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Compilation fails on disabling TextureMapper
https://bugs.webkit.org/show_bug.cgi?id=64408

Fix compilation error due to API name change in GraphicsLayer

Patch by Dinu Jacob <dinu.jacob@nokia.com> on 2011-07-16
Reviewed by Noam Rosenthal.

  • platform/graphics/qt/GraphicsLayerQt.cpp:

(WebCore::GraphicsLayerQt::setContentsToBackgroundColor):

  • platform/graphics/qt/GraphicsLayerQt.h:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r91154 r91155  
     12011-07-16  Dinu Jacob  <dinu.jacob@nokia.com>
     2
     3        [Qt] Compilation fails on disabling TextureMapper
     4        https://bugs.webkit.org/show_bug.cgi?id=64408
     5
     6        Fix compilation error due to API name change in GraphicsLayer
     7
     8        Reviewed by Noam Rosenthal.
     9
     10        * platform/graphics/qt/GraphicsLayerQt.cpp:
     11        (WebCore::GraphicsLayerQt::setContentsToBackgroundColor):
     12        * platform/graphics/qt/GraphicsLayerQt.h:
     13
    1142011-07-15  Pratik Solanki  <psolanki@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/qt/GraphicsLayerQt.cpp

    r86691 r91155  
    12391239/* \reimp (GraphicsLayer.h)
    12401240*/
    1241 void GraphicsLayerQt::setContentsBackgroundColor(const Color& color)
     1241void GraphicsLayerQt::setContentsToBackgroundColor(const Color& color)
    12421242{
    12431243    m_impl->notifyChange(GraphicsLayerQtImpl::ContentChange);
    12441244    m_impl->m_pendingContent.contentType = GraphicsLayerQtImpl::ColorContentType;
    12451245    m_impl->m_pendingContent.contentsBackgroundColor = QColor(color);
    1246     GraphicsLayer::setContentsBackgroundColor(color);
     1246    GraphicsLayer::setContentsToBackgroundColor(color);
    12471247}
    12481248
  • trunk/Source/WebCore/platform/graphics/qt/GraphicsLayerQt.h

    r81298 r91155  
    7777    virtual void setContentsToMedia(PlatformLayer*);
    7878    virtual void setContentsToCanvas(PlatformLayer*);
    79     virtual void setContentsBackgroundColor(const Color&);
     79    virtual void setContentsToBackgroundColor(const Color&);
    8080    virtual void setContentsOrientation(CompositingCoordinatesOrientation orientation);
    8181    virtual void distributeOpacity(float);
Note: See TracChangeset for help on using the changeset viewer.