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

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

Issue 1427943002: Wrap SVGImage for container during paint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use IntSize for SVGImageForContainer Created 5 years, 1 month 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.h
diff --git a/third_party/WebKit/Source/core/paint/SVGImagePainter.h b/third_party/WebKit/Source/core/paint/SVGImagePainter.h
index 3a2eeb46ac01f126ff895f479b9e35c0efef8f74..a679f8b430e4638eae59224ea6ab7ac681c52793 100644
--- a/third_party/WebKit/Source/core/paint/SVGImagePainter.h
+++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.h
@@ -5,6 +5,7 @@
#ifndef SVGImagePainter_h
#define SVGImagePainter_h
+#include "platform/geometry/FloatSize.h"
#include "wtf/Allocator.h"
namespace blink {
@@ -22,6 +23,7 @@ public:
private:
// Assumes the PaintInfo context has had all local transforms applied.
void paintForeground(const PaintInfo&);
+ FloatSize computeImageViewportSize() const;
const LayoutSVGImage& m_layoutSVGImage;
};

Powered by Google App Engine
This is Rietveld 408576698