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

Unified Diff: third_party/WebKit/Source/core/style/StyleImage.h

Issue 1477433004: Use LayoutUnit for SVG container size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/style/StyleImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleImage.h b/third_party/WebKit/Source/core/style/StyleImage.h
index d5d96b70cbaf7261d35421de99f5278c1b8a119a..0b71bc52f86100f8f7ff03dd522bd27ecb2da26e 100644
--- a/third_party/WebKit/Source/core/style/StyleImage.h
+++ b/third_party/WebKit/Source/core/style/StyleImage.h
@@ -26,7 +26,6 @@
#include "core/CoreExport.h"
#include "core/css/CSSValue.h"
-#include "platform/geometry/IntSize.h"
#include "platform/geometry/LayoutSize.h"
#include "platform/graphics/Image.h"
#include "wtf/PassRefPtr.h"
@@ -63,7 +62,7 @@ public:
virtual bool usesImageContainerSize() const = 0;
virtual void addClient(LayoutObject*) = 0;
virtual void removeClient(LayoutObject*) = 0;
- virtual PassRefPtr<Image> image(const LayoutObject*, const IntSize&, float) const = 0;
+ virtual PassRefPtr<Image> image(const LayoutObject*, const LayoutSize&, float) const = 0;
virtual WrappedImagePtr data() const = 0;
virtual float imageScaleFactor() const { return 1; }
virtual bool knownToBeOpaque(const LayoutObject*) const = 0;
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp ('k') | third_party/WebKit/Source/core/style/StylePendingImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698