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

Unified Diff: third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp

Issue 2007553002: Retire setGradientSpaceTransform, setPatternSpaceTransform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fmalita discovers SkMatrix::I() Created 4 years, 7 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/core/paint/MediaControlsPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp b/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
index 0b916e1f6c56519b5342bb55b1a4de9351255e68..74d7b07fa712d7b85bc02dd4e6f54d0b9ff1b4ca 100644
--- a/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
@@ -273,7 +273,7 @@ static void paintSliderRangeHighlight(const IntRect& rect, const ComputedStyle&
// Fill highlight rectangle with gradient, potentially rounded if on left or right edge.
SkPaint gradientPaint(context.fillPaint());
- gradient->applyToPaint(gradientPaint);
+ gradient->applyToPaint(gradientPaint, SkMatrix::I());
if (startOffset < borderRadius && endOffset < borderRadius)
context.drawRRect(FloatRoundedRect(highlightRect, radii, radii, radii, radii), gradientPaint);

Powered by Google App Engine
This is Rietveld 408576698