Chromium Code Reviews

Unified Diff: Source/web/WebPageSerializerImpl.cpp

Issue 23671002: Refactoring: Add toWebFrameImpl() interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Corrected as per review commments. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/web/WebPageSerializer.cpp ('k') | Source/web/WebRange.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « Source/web/WebPageSerializer.cpp ('k') | Source/web/WebRange.cpp » ('j') | no next file with comments »

Powered by Google App Engine