Changeset 143350 in webkit


Ignore:
Timestamp:
Feb 19, 2013 10:07:17 AM (11 years ago)
Author:
abecsi@webkit.org
Message:

[Qt] Fix compilation if Qt was configured with -no-rtti
https://bugs.webkit.org/show_bug.cgi?id=110234

Reviewed by Noam Rosenthal.

Availability of dynamic_cast should be checked.

  • platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:

(WebCore::GraphicsLayerTextureMapper::updateBackingStoreIfNeeded):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r143349 r143350  
     12013-02-19  Andras Becsi  <andras.becsi@digia.com>
     2
     3        [Qt] Fix compilation if Qt was configured with -no-rtti
     4        https://bugs.webkit.org/show_bug.cgi?id=110234
     5
     6        Reviewed by Noam Rosenthal.
     7
     8        Availability of dynamic_cast should be checked.
     9
     10        * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
     11        (WebCore::GraphicsLayerTextureMapper::updateBackingStoreIfNeeded):
     12
    1132013-02-18  Alexey Proskuryakov  <ap@apple.com>
    214
  • trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp

    r141238 r143350  
    582582        return;
    583583
    584 #if PLATFORM(QT)
     584#if PLATFORM(QT) && !defined(QT_NO_DYNAMIC_CAST)
    585585    ASSERT(dynamic_cast<TextureMapperTiledBackingStore*>(m_backingStore.get()));
    586586#endif
Note: See TracChangeset for help on using the changeset viewer.