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

Unified Diff: third_party/WebKit/Source/core/paint/SVGImagePainter.cpp

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: style Created 4 years 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/paint/SVGImagePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
index d68dec20f80a213559d5040119db9344b6d48caf..b4519adc77e16b27ebd8c2d82fc03c14b9fd39ed 100644
--- a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
@@ -92,7 +92,8 @@ FloatSize SVGImagePainter::computeImageViewportSize() const {
->align() != SVGPreserveAspectRatio::kSvgPreserveaspectratioNone)
return m_layoutSVGImage.objectBoundingBox().size();
- ImageResource* cachedImage = m_layoutSVGImage.imageResource()->cachedImage();
+ ImageResourceContent* cachedImage =
+ m_layoutSVGImage.imageResource()->cachedImage();
// Images with preserveAspectRatio=none should force non-uniform scaling. This
// can be achieved by setting the image's container size to its viewport size
« no previous file with comments | « third_party/WebKit/Source/core/page/DragController.cpp ('k') | third_party/WebKit/Source/core/style/ShapeValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698