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

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

Issue 2536883002: Rename Image::drawTiled methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 87f940d7eaca09d19220556440e9842580693c49..dfbfe4ee08731923fe82023230cf74bfcdacf8f3 100644
--- a/third_party/WebKit/Source/platform/graphics/Image.h
+++ b/third_party/WebKit/Source/platform/graphics/Image.h
@@ -195,19 +195,19 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> {
protected:
Image(ImageObserver* = 0);
- void drawTiled(GraphicsContext&,
- const FloatRect& dstRect,
- const FloatPoint& srcPoint,
- const FloatSize& tileSize,
- SkBlendMode,
- const FloatSize& repeatSpacing);
- void drawTiled(GraphicsContext&,
- const FloatRect& dstRect,
- const FloatRect& srcRect,
- const FloatSize& tileScaleFactor,
- TileRule hRule,
- TileRule vRule,
- SkBlendMode);
+ void drawTiledBackground(GraphicsContext&,
+ const FloatRect& dstRect,
+ const FloatPoint& srcPoint,
+ const FloatSize& tileSize,
+ SkBlendMode,
+ const FloatSize& repeatSpacing);
+ void drawTiledBorder(GraphicsContext&,
+ const FloatRect& dstRect,
+ const FloatRect& srcRect,
+ const FloatSize& tileScaleFactor,
+ TileRule hRule,
+ TileRule vRule,
+ SkBlendMode);
private:
RefPtr<SharedBuffer> m_encodedImageData;
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp ('k') | third_party/WebKit/Source/platform/graphics/Image.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698