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

Unified Diff: third_party/WebKit/Source/core/dom/ElementVisibilityObserverTest.cpp

Issue 2760813002: Change RemoteFrame to take a Page instead of a FrameHost (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | third_party/WebKit/Source/core/frame/RemoteFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/ElementVisibilityObserverTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/ElementVisibilityObserverTest.cpp b/third_party/WebKit/Source/core/dom/ElementVisibilityObserverTest.cpp
index 0d6445377685c8d4d511bb080ea0fbf2d3459235..3574af0837c7b8ea006f5539d3f245bc4f820088 100644
--- a/third_party/WebKit/Source/core/dom/ElementVisibilityObserverTest.cpp
+++ b/third_party/WebKit/Source/core/dom/ElementVisibilityObserverTest.cpp
@@ -50,7 +50,7 @@ class ElementVisibilityObserverTest : public ::testing::Test {
}
Document& document() { return m_dummyPageHolder->document(); }
- FrameHost& frameHost() { return m_dummyPageHolder->page().frameHost(); }
+ Page& page() { return m_dummyPageHolder->page(); }
StubLocalFrameClient* localFrameClient() const { return m_localFrameClient; }
private:
@@ -70,7 +70,7 @@ TEST_F(ElementVisibilityObserverTest, ObserveElementWithoutDocumentFrame) {
TEST_F(ElementVisibilityObserverTest, ObserveElementInRemoteFrame) {
Persistent<RemoteFrame> remoteFrame =
- RemoteFrame::create(new EmptyRemoteFrameClient(), &frameHost(), nullptr);
+ RemoteFrame::create(new EmptyRemoteFrameClient(), &page(), nullptr);
localFrameClient()->setParent(remoteFrame);
Persistent<HTMLElement> element = HTMLDivElement::create(document());
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/RemoteFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698