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

Unified Diff: public/web/WebFrame.h

Issue 544443002: Detach all subframes before swapping a frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove ASSERT in detachChildren, since FrameLoader::commitProvisionalLoad can hit it with ref count… 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
« Source/web/WebFrame.cpp ('K') | « Source/web/tests/data/subframe-b.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 46d62129998e23acd9fde95d95af9b3ff4ee87d3..b8f9f97319e909c8483e7b0d7e3a30fd2ba6b761 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -115,7 +115,7 @@ public:
virtual bool isWebRemoteFrame() const = 0;
virtual WebRemoteFrame* toWebRemoteFrame() = 0;
- BLINK_EXPORT void swap(WebFrame*);
+ BLINK_EXPORT bool swap(WebFrame*);
// This method closes and deletes the WebFrame.
virtual void close() = 0;
« Source/web/WebFrame.cpp ('K') | « Source/web/tests/data/subframe-b.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698