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

Unified Diff: third_party/WebKit/Source/platform/graphics/Image.h

Issue 1456813002: Calculate Background Image Geometries using sub-pixel values (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment to applySubPixelHeuristicToImageSize 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/platform/graphics/Image.h
diff --git a/third_party/WebKit/Source/platform/graphics/Image.h b/third_party/WebKit/Source/platform/graphics/Image.h
index 88f4301946a7dc06bdc09832143673a92afcc1fe..e1640849fa177d68357e5736179283dba02c13fe 100644
--- a/third_party/WebKit/Source/platform/graphics/Image.h
+++ b/third_party/WebKit/Source/platform/graphics/Image.h
@@ -138,7 +138,7 @@ public:
virtual void drawPattern(GraphicsContext*, const FloatRect&,
const FloatSize&, const FloatPoint& phase, SkXfermode::Mode,
- const FloatRect&, const IntSize& repeatSpacing = IntSize());
+ const FloatRect&, const FloatSize& repeatSpacing = FloatSize());
enum ImageClampingMode {
ClampImageToSourceRect,
@@ -151,7 +151,7 @@ protected:
Image(ImageObserver* = 0);
void drawTiled(GraphicsContext*, const FloatRect& dstRect, const FloatPoint& srcPoint, const FloatSize& tileSize,
- SkXfermode::Mode, const IntSize& repeatSpacing);
+ SkXfermode::Mode, const FloatSize& repeatSpacing);
void drawTiled(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, const FloatSize& tileScaleFactor, TileRule hRule, TileRule vRule, SkXfermode::Mode);
private:

Powered by Google App Engine
This is Rietveld 408576698