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

Unified Diff: Source/core/rendering/RenderPart.cpp

Issue 842033003: Cleanup RemotePlatformLayer when disconnecting RemoteFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « Source/core/page/EventHandler.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderPart.cpp
diff --git a/Source/core/rendering/RenderPart.cpp b/Source/core/rendering/RenderPart.cpp
index 3b25bdac4c12acc0ed206a0dcadc42ca0ea651e5..18a505c075a64a98cb8054638eb532cc1432ad72 100644
--- a/Source/core/rendering/RenderPart.cpp
+++ b/Source/core/rendering/RenderPart.cpp
@@ -116,7 +116,7 @@ bool RenderPart::requiresAcceleratedCompositing() const
return false;
HTMLFrameOwnerElement* element = toHTMLFrameOwnerElement(node());
- if (element->contentFrame() && element->contentFrame()->remotePlatformLayer())
+ if (element->contentFrame() && element->contentFrame()->isRemoteFrame())
return true;
if (Document* contentDocument = element->contentDocument()) {
@@ -150,10 +150,6 @@ bool RenderPart::nodeAtPoint(const HitTestRequest& request, HitTestResult& resul
if (!widget() || !widget()->isFrameView() || !request.allowsChildFrameContent())
return nodeAtPointOverWidget(request, result, locationInContainer, accumulatedOffset, action);
- // FIXME: Until RemoteFrames use RemoteFrameViews, we need an explicit check here.
- if (toFrameView(widget())->frame().isRemoteFrameTemporary())
- return nodeAtPointOverWidget(request, result, locationInContainer, accumulatedOffset, action);
-
FrameView* childFrameView = toFrameView(widget());
RenderView* childRoot = childFrameView->renderView();
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698