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

Unified Diff: third_party/WebKit/Source/platform/graphics/PlaceholderImage.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/PlaceholderImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/PlaceholderImage.h b/third_party/WebKit/Source/platform/graphics/PlaceholderImage.h
index 7d322320962d97f7e87c020237001ee9513d3468..8bb4c1630b06647d423ccb12fdf3a9f32f83e82b 100644
--- a/third_party/WebKit/Source/platform/graphics/PlaceholderImage.h
+++ b/third_party/WebKit/Source/platform/graphics/PlaceholderImage.h
@@ -9,13 +9,11 @@
#include "platform/geometry/IntSize.h"
#include "platform/graphics/Image.h"
#include "platform/graphics/ImageOrientation.h"
+#include "skia/ext/cdl_common.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "wtf/PassRefPtr.h"
-class SkCanvas;
-class SkPaint;
-
namespace blink {
class FloatRect;
@@ -35,8 +33,8 @@ class PLATFORM_EXPORT PlaceholderImage final : public Image {
sk_sp<SkImage> imageForCurrentFrame() override;
- void draw(SkCanvas*,
- const SkPaint&,
+ void draw(CdlCanvas*,
+ const CdlPaint&,
const FloatRect& destRect,
const FloatRect& srcRect,
RespectImageOrientationEnum,

Powered by Google App Engine
This is Rietveld 408576698