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

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

Issue 2712083002: color: Remove blink pre-conversion code (Closed)
Patch Set: git cl try Created 3 years, 10 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/GradientGeneratedImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h b/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h
index b0a6f2bbc87840db8087d0ca8949f8974fe9e1c7..934609d57a20e68726b4ee0a2eb49c86527ac4ab 100644
--- a/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h
+++ b/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h
@@ -44,7 +44,7 @@ class PLATFORM_EXPORT GradientGeneratedImage final : public GeneratedImage {
~GradientGeneratedImage() override {}
- bool applyShader(PaintFlags&, const SkMatrix&, const ColorBehavior&) override;
+ bool applyShader(PaintFlags&, const SkMatrix&) override;
protected:
void draw(SkCanvas*,
@@ -52,8 +52,7 @@ class PLATFORM_EXPORT GradientGeneratedImage final : public GeneratedImage {
const FloatRect&,
const FloatRect&,
RespectImageOrientationEnum,
- ImageClampingMode,
- const ColorBehavior&) override;
+ ImageClampingMode) override;
void drawTile(GraphicsContext&, const FloatRect&) override;
GradientGeneratedImage(PassRefPtr<Gradient> generator, const IntSize& size)

Powered by Google App Engine
This is Rietveld 408576698