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

Unified Diff: third_party/WebKit/Source/platform/graphics/PicturePattern.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/PicturePattern.h
diff --git a/third_party/WebKit/Source/platform/graphics/PicturePattern.h b/third_party/WebKit/Source/platform/graphics/PicturePattern.h
index 8b7b03a2b1cf12a872a193e861f54aafd0c400b0..8388ecbfb673085fcbca056a7ae5b47a4ae1d23f 100644
--- a/third_party/WebKit/Source/platform/graphics/PicturePattern.h
+++ b/third_party/WebKit/Source/platform/graphics/PicturePattern.h
@@ -12,17 +12,17 @@ namespace blink {
class PLATFORM_EXPORT PicturePattern final : public Pattern {
public:
- static PassRefPtr<PicturePattern> create(sk_sp<SkPicture>, RepeatMode);
+ static PassRefPtr<PicturePattern> create(sk_sp<CdlPicture>, RepeatMode);
~PicturePattern() override;
protected:
- sk_sp<SkShader> createShader(const SkMatrix&) override;
+ sk_sp<CdlShader> createShader(const SkMatrix&) override;
private:
- PicturePattern(sk_sp<SkPicture>, RepeatMode);
+ PicturePattern(sk_sp<CdlPicture>, RepeatMode);
- sk_sp<SkPicture> m_tilePicture;
+ sk_sp<CdlPicture> m_tilePicture;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698