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

Unified Diff: Source/web/WebLocalFrameImpl.cpp

Issue 842033003: Cleanup RemotePlatformLayer when disconnecting RemoteFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 11 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/core/frame/RemoteFrame.cpp ('K') | « Source/core/rendering/RenderPart.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebLocalFrameImpl.cpp
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
index c438e5b00fff7f633c7b5e6d832349e460e3d222..8045d7f5fd3afd5294c62f4406fd9eb21bbe6d81 100644
--- a/Source/web/WebLocalFrameImpl.cpp
+++ b/Source/web/WebLocalFrameImpl.cpp
@@ -576,10 +576,7 @@ WebVector<WebIconURL> WebLocalFrameImpl::iconURLs(int iconTypesMask) const
void WebLocalFrameImpl::setRemoteWebLayer(WebLayer* webLayer)
{
- if (!frame())
- return;
-
- frame()->setRemotePlatformLayer(webLayer);
+ ASSERT_NOT_REACHED();
}
void WebLocalFrameImpl::setPermissionClient(WebPermissionClient* permissionClient)
« Source/core/frame/RemoteFrame.cpp ('K') | « Source/core/rendering/RenderPart.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698