Title: [143350] trunk/Source/WebCore
Revision
143350
Author
abe...@webkit.org
Date
2013-02-19 10:07:17 -0800 (Tue, 19 Feb 2013)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (143349 => 143350)


--- trunk/Source/WebCore/ChangeLog	2013-02-19 18:05:47 UTC (rev 143349)
+++ trunk/Source/WebCore/ChangeLog	2013-02-19 18:07:17 UTC (rev 143350)
@@ -1,3 +1,15 @@
+2013-02-19  Andras Becsi  <andras.be...@digia.com>
+
+        [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):
+
 2013-02-18  Alexey Proskuryakov  <a...@apple.com>
 
         Unregistered blob URLs have incorrect MIME type

Modified: trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp (143349 => 143350)


--- trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp	2013-02-19 18:05:47 UTC (rev 143349)
+++ trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp	2013-02-19 18:07:17 UTC (rev 143350)
@@ -581,7 +581,7 @@
     if (dirtyRect.isEmpty())
         return;
 
-#if PLATFORM(QT)
+#if PLATFORM(QT) && !defined(QT_NO_DYNAMIC_CAST)
     ASSERT(dynamic_cast<TextureMapperTiledBackingStore*>(m_backingStore.get()));
 #endif
     TextureMapperTiledBackingStore* backingStore = static_cast<TextureMapperTiledBackingStore*>(m_backingStore.get());
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to