Index: Source/web/WebPageSerializerImpl.cpp |
diff --git a/Source/web/WebPageSerializerImpl.cpp b/Source/web/WebPageSerializerImpl.cpp |
index 41aa2ba99cc428deda7d6652ee54121379e3af40..c63089d511a2c1e40435bf8509738245ec07051c 100644 |
--- a/Source/web/WebPageSerializerImpl.cpp |
+++ b/Source/web/WebPageSerializerImpl.cpp |
@@ -446,7 +446,7 @@ WebPageSerializerImpl::WebPageSerializerImpl(WebFrame* frame, |
{ |
// Must specify available webframe. |
ASSERT(frame); |
- m_specifiedWebFrameImpl = static_cast<WebFrameImpl*>(frame); |
+ m_specifiedWebFrameImpl = toWebFrameImpl(frame); |
// Make sure we have non 0 client. |
ASSERT(client); |
// Build local resources map. |