[Qt] Fix compilation if Qt was configured with -no-rtti
authorabecsi@webkit.org <abecsi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Feb 2013 18:07:17 +0000 (18:07 +0000)
committerabecsi@webkit.org <abecsi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Feb 2013 18:07:17 +0000 (18:07 +0000)
commit895c16aeaf8cb0ec12558f11a41a3654fc3e01e2
treefad9e2258d6bc5117ce628254af308ad02666b0e
parent1f1f29c10471c79c37a53f6a9db8bd8c332c2037
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@143350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp