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

Unified Diff: third_party/WebKit/Source/web/RemoteFrameOwner.h

Issue 2631233003: Avoid mutating frame owner when detaching a provisional frame. (Closed)
Patch Set: Fix test to actually test the changed behavior. Created 3 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
Index: third_party/WebKit/Source/web/RemoteFrameOwner.h
diff --git a/third_party/WebKit/Source/web/RemoteFrameOwner.h b/third_party/WebKit/Source/web/RemoteFrameOwner.h
index 25d39777bacb6b72626a0cc442413059cdb12fe9..5cce8db2342923742800d4236ffd7da4141598dc 100644
--- a/third_party/WebKit/Source/web/RemoteFrameOwner.h
+++ b/third_party/WebKit/Source/web/RemoteFrameOwner.h
@@ -29,6 +29,7 @@ class RemoteFrameOwner final
}
// FrameOwner overrides:
+ Frame* contentFrame() const override { return m_frame.get(); }
void setContentFrame(Frame&) override;
void clearContentFrame() override;
SandboxFlags getSandboxFlags() const override { return m_sandboxFlags; }

Powered by Google App Engine
This is Rietveld 408576698