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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp

Issue 2721503002: Rename all uses of EmptyFrameLoaderClient with EmptyLocalFrameClient. (Closed)
Patch Set: Change V8 headers to user includes and introduce a space between system and user headers. Headers w… Created 3 years, 10 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/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();
}

Powered by Google App Engine
This is Rietveld 408576698