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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp

Issue 1830883002: Add blink::ServiceRegistry and expose it from LocalFrame and Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/core/layout/LayoutTestHelper.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
index 0ea264d7f1089ddaa3520da0ec8e539c4c961eaa..2eade0f259323c2e5ec1930562190375117827da 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
@@ -50,7 +50,7 @@ Document& RenderingTest::setupChildIframe(const AtomicString& iframeElementId, c
// instead of partially duplicating it here (e.g., LocalFrame::createView).
HTMLIFrameElement& iframe = *toHTMLIFrameElement(document().getElementById(iframeElementId));
m_childFrameLoaderClient = FrameLoaderClientWithParent::create(document().frame());
- m_subframe = LocalFrame::create(m_childFrameLoaderClient.get(), document().frame()->host(), &iframe);
+ m_subframe = LocalFrame::create(m_childFrameLoaderClient.get(), document().frame()->host(), &iframe, nullptr);
m_subframe->setView(FrameView::create(m_subframe.get(), IntSize(500, 500)));
m_subframe->init();
m_subframe->view()->setParentVisible(true);

Powered by Google App Engine
This is Rietveld 408576698