| Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| index 7f498ae448b032effb3a861c69e685fd909acc33..f47260f9a6caa787c7a48dd06ae9a6b9987cc8b8 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -165,9 +165,9 @@ inline float parentTextZoomFactor(LocalFrame* frame)
|
|
|
| } // namespace
|
|
|
| -RawPtr<LocalFrame> LocalFrame::create(FrameLoaderClient* client, FrameHost* host, FrameOwner* owner)
|
| +RawPtr<LocalFrame> LocalFrame::create(FrameLoaderClient* client, FrameHost* host, FrameOwner* owner, ServiceRegistry* serviceRegistry)
|
| {
|
| - RawPtr<LocalFrame> frame = new LocalFrame(client, host, owner);
|
| + RawPtr<LocalFrame> frame = new LocalFrame(client, host, owner, serviceRegistry);
|
| InspectorInstrumentation::frameAttachedToParent(frame.get());
|
| return frame.release();
|
| }
|
| @@ -821,7 +821,7 @@ bool LocalFrame::shouldThrottleRendering() const
|
| return view() && view()->shouldThrottleRendering();
|
| }
|
|
|
| -inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host, FrameOwner* owner)
|
| +inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host, FrameOwner* owner, ServiceRegistry* serviceRegistry)
|
| : Frame(client, host, owner)
|
| , m_loader(this)
|
| , m_navigationScheduler(NavigationScheduler::create(this))
|
| @@ -836,6 +836,7 @@ inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host, FrameO
|
| , m_pageZoomFactor(parentPageZoomFactor(this))
|
| , m_textZoomFactor(parentTextZoomFactor(this))
|
| , m_inViewSourceMode(false)
|
| + , m_serviceRegistry(serviceRegistry)
|
| {
|
| if (isLocalRoot())
|
| m_instrumentingAgents = InstrumentingAgents::create();
|
|
|