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

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 498cb77c81bfd740d26d1fdc0c02b6131f656796..7d858b5dd6c11a503e8d72bbda6cfc683785d436 100644
--- a/Source/core/frame/Frame.h
+++ b/Source/core/frame/Frame.h
@@ -56,11 +56,10 @@ public:
virtual ~Frame();
- 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.
@@ -118,11 +117,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