Changeset 59934 in webkit


Ignore:
Timestamp:
May 21, 2010 8:28:36 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-05-21 Tasuku Suzuki <tasuku.suzuki@nokia.com>

Reviewed by Simon Hausmann.

[Qt] Fix compilation with QT_NO_GRAPHICSEFFECT
https://bugs.webkit.org/show_bug.cgi?id=38324

  • platform/graphics/qt/GraphicsLayerQt.cpp: (WebCore::GraphicsLayerQtImpl::flushChanges):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r59933 r59934  
     12010-05-21  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        [Qt] Fix compilation with QT_NO_GRAPHICSEFFECT
     6        https://bugs.webkit.org/show_bug.cgi?id=38324
     7
     8        * platform/graphics/qt/GraphicsLayerQt.cpp:
     9        (WebCore::GraphicsLayerQtImpl::flushChanges):
     10
    1112010-05-21  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>
    212
  • trunk/WebCore/platform/graphics/qt/GraphicsLayerQt.cpp

    r59510 r59934  
    4444namespace WebCore {
    4545
     46#ifndef QT_NO_GRAPHICSEFFECT
    4647class MaskEffectQt : public QGraphicsEffect {
    4748public:
     
    9293    QGraphicsItem* m_maskLayer;
    9394};
     95#endif // QT_NO_GRAPHICSEFFECT
    9496
    9597class GraphicsLayerQtImpl : public QGraphicsObject {
     
    180182    bool m_transformAnimationRunning;
    181183    bool m_opacityAnimationRunning;
     184#ifndef QT_NO_GRAPHICSEFFECT
    182185    QWeakPointer<MaskEffectQt> m_maskEffect;
     186#endif
    183187
    184188    struct ContentData {
     
    528532        // itself is ready... we'll have to wait till this layer tries to paint
    529533        setFlag(ItemClipsChildrenToShape, m_layer->maskLayer() || m_layer->masksToBounds());
     534#ifndef QT_NO_GRAPHICSEFFECT
    530535        setGraphicsEffect(0);
    531536        if (m_layer->maskLayer()) {
     
    535540            }
    536541        }
     542#endif
    537543    }
    538544
     
    619625        prepareGeometryChange();
    620626
     627#ifndef QT_NO_GRAPHICSEFFECT
    621628    if (m_maskEffect)
    622629        m_maskEffect.data()->update();
     
    629636        m_pendingContent.regionToUpdate = QRegion();
    630637    }
     638#endif
    631639
    632640    if ((m_changeMask & BackgroundColorChange) && (m_pendingContent.backgroundColor != m_currentContent.backgroundColor))
Note: See TracChangeset for help on using the changeset viewer.