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

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

Issue 1438043012: Avoid int coercion of box-shadow args (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac theme update, subpixel test Created 5 years, 1 month 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/GraphicsContext.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
index be487e63e8f8a8626d702cb1a66d28410c8c27c6..c700e6dc914b34654edc4c7e59ba06c182e32806 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
@@ -231,7 +231,9 @@ public:
LeftEdge = 1 << 4
};
typedef unsigned Edges;
- void drawInnerShadow(const FloatRoundedRect&, const Color& shadowColor, const IntSize shadowOffset, int shadowBlur, int shadowSpread, Edges clippedEdges = NoEdge);
+ void drawInnerShadow(const FloatRoundedRect&, const Color& shadowColor,
+ const FloatSize& shadowOffset, float shadowBlur, float shadowSpread,
+ Edges clippedEdges = NoEdge);
const SkPaint& fillPaint() const { return immutableState()->fillPaint(); }

Powered by Google App Engine
This is Rietveld 408576698