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

Unified Diff: Source/core/frame/Frame.h

Issue 551973005: Streamline frame detach (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/frame/Frame.h
diff --git a/Source/core/frame/Frame.h b/Source/core/frame/Frame.h
index 997a1893fe3070ba136d79e8f8a593e942f36c33..e4d876bcc5493b578aa19ba611129d447bc35c3d 100644
--- a/Source/core/frame/Frame.h
+++ b/Source/core/frame/Frame.h
@@ -54,11 +54,10 @@ public:
virtual ~Frame();
virtual void trace(Visitor*);
- virtual void detach() = 0;
+ virtual void detach();
void detachChildren();
FrameClient* client() const;
- void clearClient();
// NOTE: Page is moving out of Blink up into the browser process as
// part of the site-isolation (out of process iframes) work.
@@ -116,11 +115,6 @@ inline FrameClient* Frame::client() const
return m_client;
}
-inline void Frame::clearClient()
-{
- m_client = 0;
-}
-
inline LocalDOMWindow* Frame::domWindow() const
{
return m_domWindow.get();

Powered by Google App Engine
This is Rietveld 408576698