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

Unified Diff: Source/web/WebFrameImpl.cpp

Issue 191003006: Framework for converting embedder uses of WebFrame to WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 9 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
« no previous file with comments | « Source/web/WebFrameImpl.h ('k') | public/platform/WebMediaPlayerClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « Source/web/WebFrameImpl.h ('k') | public/platform/WebMediaPlayerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698