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

Unified Diff: third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.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/CrossfadeGeneratedImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.h b/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.h
index 2450090de42f8abc48f91933b47d87b35088f702..5d6468cd5363d0dd895e6d7a0ea03515a8a5478d 100644
--- a/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.h
+++ b/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.h
@@ -30,6 +30,7 @@
#include "platform/graphics/GeneratedImage.h"
#include "platform/graphics/Image.h"
#include "platform/graphics/ImageObserver.h"
+#include "skia/ext/cdl_common.h"
#include "wtf/RefPtr.h"
namespace blink {
@@ -52,8 +53,8 @@ class PLATFORM_EXPORT CrossfadeGeneratedImage final : public GeneratedImage {
IntSize size() const override { return m_crossfadeSize; }
protected:
- void draw(SkCanvas*,
- const SkPaint&,
+ void draw(CdlCanvas*,
+ const CdlPaint&,
const FloatRect&,
const FloatRect&,
RespectImageOrientationEnum,
@@ -67,7 +68,7 @@ class PLATFORM_EXPORT CrossfadeGeneratedImage final : public GeneratedImage {
const IntSize&);
private:
- void drawCrossfade(SkCanvas*, const SkPaint&, ImageClampingMode);
+ void drawCrossfade(CdlCanvas*, const CdlPaint&, ImageClampingMode);
RefPtr<Image> m_fromImage;
RefPtr<Image> m_toImage;

Powered by Google App Engine
This is Rietveld 408576698