| Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
| index f767fa70e2799a981ecda85723dfecbdaa5653fc..85f1284c92927ed3a72636ca96349d9ebeea8bfa 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
| @@ -33,6 +33,7 @@
|
| #include "core/dom/shadow/FlatTreeTraversal.h"
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "core/frame/LocalFrameClient.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/layout/LayoutView.h"
|
| #include "core/layout/svg/LayoutSVGRoot.h"
|
| @@ -579,8 +580,8 @@ Image::SizeAvailability SVGImage::dataChanged(bool allDataReceived) {
|
| // types.
|
| EventDispatchForbiddenScope::AllowUserAgentEvents allowUserAgentEvents;
|
|
|
| - DEFINE_STATIC_LOCAL(FrameLoaderClient, dummyFrameLoaderClient,
|
| - (EmptyFrameLoaderClient::create()));
|
| + DEFINE_STATIC_LOCAL(LocalFrameClient, dummyLocalFrameClient,
|
| + (EmptyLocalFrameClient::create()));
|
|
|
| if (m_page) {
|
| toLocalFrame(m_page->mainFrame())
|
| @@ -634,8 +635,7 @@ Image::SizeAvailability SVGImage::dataChanged(bool allDataReceived) {
|
| LocalFrame* frame = nullptr;
|
| {
|
| TRACE_EVENT0("blink", "SVGImage::dataChanged::createFrame");
|
| - frame =
|
| - LocalFrame::create(&dummyFrameLoaderClient, &page->frameHost(), 0);
|
| + frame = LocalFrame::create(&dummyLocalFrameClient, &page->frameHost(), 0);
|
| frame->setView(FrameView::create(*frame));
|
| frame->init();
|
| }
|
|
|