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

Unified Diff: Source/web/RemoteFrameClientImpl.cpp

Issue 1177333002: Revert of Detach old frame on WebFrame::swap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « Source/web/RemoteFrameClientImpl.h ('k') | Source/web/WebFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/RemoteFrameClientImpl.cpp
diff --git a/Source/web/RemoteFrameClientImpl.cpp b/Source/web/RemoteFrameClientImpl.cpp
index a5fb499fd462879bc703ca48544bdd00b97788d0..9d2aa25a728603ede7afd33d5e79f37eee4d0932 100644
--- a/Source/web/RemoteFrameClientImpl.cpp
+++ b/Source/web/RemoteFrameClientImpl.cpp
@@ -35,7 +35,7 @@
{
}
-void RemoteFrameClientImpl::detached(FrameDetachType type)
+void RemoteFrameClientImpl::detached()
{
// Alert the client that the frame is being detached.
RefPtrWillBeRawPtr<WebRemoteFrameImpl> protector(m_webFrame);
@@ -44,7 +44,7 @@
if (!client)
return;
- client->frameDetached(static_cast<WebRemoteFrameClient::DetachType>(type));
+ client->frameDetached();
// Clear our reference to RemoteFrame at the very end, in case the client
// refers to it.
m_webFrame->setCoreFrame(nullptr);
« no previous file with comments | « Source/web/RemoteFrameClientImpl.h ('k') | Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698