[Qt] Fix compilation if Qt was configured with -no-rtti https://bugs.webkit.org/show_...
authorAndras Becsi <andras.becsi@digia.com>
Tue, 19 Feb 2013 18:07:45 +0000 (19:07 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 20 Feb 2013 08:56:36 +0000 (09:56 +0100)
commit08322b49d440e36a8c1a8b2f250a641ea1886ae3
tree9c6939e8b305d43d83f08f69781943b43872e26b
parent6b55893ad026f2b95ea6f268eefdeb204a1a134c
[Qt] Fix compilation if Qt was configured with -no-rtti https://bugs.webkit.org/show_bug.cgi?id=110234

Backport of https://trac.webkit.org/r143350.

Reviewed by Noam Rosenthal.

Availability of dynamic_cast should be checked.

Task-number: QTBUG-29723

* platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
(WebCore::GraphicsLayerTextureMapper::updateBackingStoreIfNeeded):

Change-Id: I983d17256164e86b2db3bad98093429e0469a9aa
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp