Index: Source/web/WebFrameImpl.cpp |
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp |
index d6fc518d2e315e84cf4ea1cc5bbabc53985118f4..e94f5940b5240d4e036513a12d6dec9a16ef32d1 100644 |
--- a/Source/web/WebFrameImpl.cpp |
+++ b/Source/web/WebFrameImpl.cpp |
@@ -2255,7 +2255,7 @@ WebFrameImpl* WebFrameImpl::fromFrame(Frame* frame) |
{ |
if (!frame) |
return 0; |
- return static_cast<FrameLoaderClientImpl*>(frame->loader()->client())->webFrame(); |
+ return toFrameLoaderClientImpl(frame->loader()->client())->webFrame(); |
} |
WebFrameImpl* WebFrameImpl::fromFrameOwnerElement(Element* element) |