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

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

Issue 1785123003: Rework embeddedContentBox into embeddedReplacedContent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 | « third_party/WebKit/Source/core/svg/graphics/SVGImage.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fb40160723e975ef54dfe3cae48bfde4a37f87cb..cfff39bdf3c995aacf7a0f325facf0fe58144ecb 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
@@ -385,12 +385,12 @@ void SVGImage::drawInternal(SkCanvas* canvas, const SkPaint& paint, const FloatR
startAnimation();
}
-LayoutBox* SVGImage::embeddedContentBox() const
+LayoutReplaced* SVGImage::embeddedReplacedContent() const
{
SVGSVGElement* rootElement = svgRootElement(m_page.get());
if (!rootElement)
return nullptr;
- return toLayoutBox(rootElement->layoutObject());
+ return toLayoutSVGRoot(rootElement->layoutObject());
}
FrameView* SVGImage::frameView() const
« no previous file with comments | « third_party/WebKit/Source/core/svg/graphics/SVGImage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698