Index: Source/web/WebFrameImpl.cpp |
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp |
index b99dd1b081b403a0dff21e593ec1b49d5fc70852..4fc38f19600ea2535cdb3a57cc34c404476d5486 100644 |
--- a/Source/web/WebFrameImpl.cpp |
+++ b/Source/web/WebFrameImpl.cpp |
@@ -489,7 +489,7 @@ int WebFrame::instanceCount() |
return frameCount; |
} |
-WebFrame* WebFrame::frameForCurrentContext() |
+WebLocalFrame* WebFrame::frameForCurrentContext() |
{ |
v8::Handle<v8::Context> context = v8::Isolate::GetCurrent()->GetCurrentContext(); |
if (context.IsEmpty()) |
@@ -497,12 +497,12 @@ WebFrame* WebFrame::frameForCurrentContext() |
return frameForContext(context); |
} |
-WebFrame* WebFrame::frameForContext(v8::Handle<v8::Context> context) |
+WebLocalFrame* WebFrame::frameForContext(v8::Handle<v8::Context> context) |
{ |
return WebFrameImpl::fromFrame(toFrameIfNotDetached(context)); |
} |
-WebFrame* WebFrame::fromFrameOwnerElement(const WebElement& element) |
+WebLocalFrame* WebFrame::fromFrameOwnerElement(const WebElement& element) |
{ |
return WebFrameImpl::fromFrameOwnerElement(PassRefPtr<Element>(element).get()); |
} |