Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2891)

Unified Diff: Source/web/WebFrameImpl.cpp

Issue 232133004: Split WebLocalFrame into a distinct subclass of WebFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/WebFrameImpl.cpp
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp
index 18a16adfe7c12a60d24361e6252fc4705ebb5b31..0a5694d97fbb4ebb78e6c6a492b32ea4a569f343 100644
--- a/Source/web/WebFrameImpl.cpp
+++ b/Source/web/WebFrameImpl.cpp
@@ -457,7 +457,7 @@ int WebFrame::instanceCount()
return frameCount;
}
-WebLocalFrame* WebFrame::frameForCurrentContext()
+WebLocalFrame* WebLocalFrame::frameForCurrentContext()
{
v8::Handle<v8::Context> context = v8::Isolate::GetCurrent()->GetCurrentContext();
if (context.IsEmpty())
@@ -465,12 +465,12 @@ WebLocalFrame* WebFrame::frameForCurrentContext()
return frameForContext(context);
}
-WebLocalFrame* WebFrame::frameForContext(v8::Handle<v8::Context> context)
+WebLocalFrame* WebLocalFrame::frameForContext(v8::Handle<v8::Context> context)
{
return WebFrameImpl::fromFrame(toFrameIfNotDetached(context));
}
-WebLocalFrame* WebFrame::fromFrameOwnerElement(const WebElement& element)
+WebLocalFrame* WebLocalFrame::fromFrameOwnerElement(const WebElement& element)
{
return WebFrameImpl::fromFrameOwnerElement(PassRefPtr<Element>(element).get());
}
@@ -1635,7 +1635,7 @@ WebString WebFrameImpl::layerTreeAsText(bool showDebugInfo) const
// WebFrameImpl public ---------------------------------------------------------
-WebLocalFrame* WebFrame::create(WebFrameClient* client)
+WebLocalFrame* WebLocalFrame::create(WebFrameClient* client)
{
return WebFrameImpl::create(client);
}

Powered by Google App Engine
This is Rietveld 408576698