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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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: third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
index 28d00cdf5eaf3390e1bd0b9e45e2c289033c0a73..92f69e1d4caffcca15e805b2f5946f243252fe6c 100644
--- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
+++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
@@ -23,8 +23,8 @@ class PLATFORM_EXPORT StaticBitmapImage : public Image {
virtual ~StaticBitmapImage() {}
bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) = 0;
sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) = 0;
- void draw(SkCanvas*,
- const SkPaint&,
+ void draw(PaintCanvas*,
+ const PaintFlags&,
const FloatRect& dstRect,
const FloatRect& srcRect,
RespectImageOrientationEnum,
@@ -68,8 +68,8 @@ class PLATFORM_EXPORT StaticBitmapImage : public Image {
protected:
// Helper for sub-classes
- void drawHelper(SkCanvas*,
- const SkPaint&,
+ void drawHelper(PaintCanvas*,
+ const PaintFlags&,
const FloatRect&,
const FloatRect&,
ImageClampingMode,

Powered by Google App Engine
This is Rietveld 408576698