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

Unified Diff: Source/web/WebFrame.cpp

Issue 593893002: Expose Frame::detach() to the Blink API layer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 3 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 | « no previous file | public/web/WebFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFrame.cpp
diff --git a/Source/web/WebFrame.cpp b/Source/web/WebFrame.cpp
index 06be0452facc4effd9b160b23bc26ef5f219dcd8..62d8960918986b4871c7dfca6561e753754cecf4 100644
--- a/Source/web/WebFrame.cpp
+++ b/Source/web/WebFrame.cpp
@@ -87,6 +87,11 @@ bool WebFrame::swap(WebFrame* frame)
return true;
}
+void WebFrame::detach()
+{
+ toCoreFrame(this)->detach();
+}
+
WebFrame* WebFrame::opener() const
{
return m_opener;
« no previous file with comments | « no previous file | public/web/WebFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698