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

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

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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 7753fa845fc2a83508c658d701a23e1b599fadec..916949f0f3e790c757e6f0aa11eba3867bb1f3ab 100644
--- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
+++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
@@ -8,6 +8,7 @@
#include "gpu/command_buffer/common/mailbox.h"
#include "gpu/command_buffer/common/sync_token.h"
#include "platform/graphics/Image.h"
+#include "skia/ext/cdl_common.h"
#include "third_party/khronos/GLES2/gl2.h"
#include "third_party/skia/include/core/SkRefCnt.h"
@@ -24,8 +25,8 @@ class PLATFORM_EXPORT StaticBitmapImage : public Image {
bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) = 0;
sk_sp<SkImage> imageForCurrentFrame() = 0;
bool isTextureBacked() = 0;
- void draw(SkCanvas*,
- const SkPaint&,
+ void draw(CdlCanvas*,
+ const CdlPaint&,
const FloatRect& dstRect,
const FloatRect& srcRect,
RespectImageOrientationEnum,
@@ -66,8 +67,8 @@ class PLATFORM_EXPORT StaticBitmapImage : public Image {
protected:
// Helper for sub-classes
- void drawHelper(SkCanvas*,
- const SkPaint&,
+ void drawHelper(CdlCanvas*,
+ const CdlPaint&,
const FloatRect&,
const FloatRect&,
ImageClampingMode,

Powered by Google App Engine
This is Rietveld 408576698