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

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

Issue 2712083002: color: Remove blink pre-conversion code (Closed)
Patch Set: Rebase 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 68a10d46ef0e64016a43def0b3dac83cfd211bd0..bbcddbb145c68153a13a3935b4fa2b0c1d3a101c 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(PaintCanvas*,
@@ -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