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

Unified Diff: Source/platform/graphics/Pattern.h

Issue 1290983003: SkImage-only bitmap patterns (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: drop non-repeat optimization Created 5 years, 4 months 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: Source/platform/graphics/Pattern.h
diff --git a/Source/platform/graphics/Pattern.h b/Source/platform/graphics/Pattern.h
index 18ae5625147b6b77794c17aaf5dff48b5d863867..620f7cedffb65af672744830436017fe88bfd901 100644
--- a/Source/platform/graphics/Pattern.h
+++ b/Source/platform/graphics/Pattern.h
@@ -52,8 +52,7 @@ public:
RepeatModeXY = RepeatModeX | RepeatModeY
};
- static PassRefPtr<Pattern> createBitmapPattern(PassRefPtr<Image> tileImage,
- RepeatMode = RepeatModeXY);
+ static PassRefPtr<Pattern> createImagePattern(PassRefPtr<Image>, RepeatMode = RepeatModeXY);
static PassRefPtr<Pattern> createPicturePattern(PassRefPtr<const SkPicture>,
RepeatMode = RepeatModeXY);
virtual ~Pattern();

Powered by Google App Engine
This is Rietveld 408576698