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

Unified Diff: third_party/WebKit/public/web/WebFrame.h

Issue 2706963004: Clear opener when frame is detached. (Closed)
Patch Set: addressing comments Created 3 years, 10 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 | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index 619764328532452b78941053dd3c5b5c783e85fb..97c77283499f92ac21a878d39e5592f08dd84a47 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/public/web/WebFrame.h
@@ -112,7 +112,7 @@ class WebFrame {
// This method closes and deletes the WebFrame. This is typically called by
// the embedder in response to a frame detached callback to the WebFrame
// client.
- virtual void close() = 0;
+ virtual void close();
// Called by the embedder when it needs to detach the subtree rooted at this
// frame.
@@ -439,7 +439,6 @@ class WebFrame {
bool inShadowTree() const { return m_scope == WebTreeScopeType::Shadow; }
static void traceFrames(Visitor*, WebFrame*);
- void clearWeakFrames(Visitor*);
#endif
protected:
@@ -458,7 +457,6 @@ class WebFrame {
friend class WebFrameTest;
static void traceFrame(Visitor*, WebFrame*);
- static bool isFrameAlive(const WebFrame*);
#endif
const WebTreeScopeType m_scope;
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698