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

Unified Diff: third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.h

Issue 2386033002: Scale focus outline thickness with zoom level. (Closed)
Patch Set: merge conflicts Created 4 years, 2 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/skia/SkiaUtils.h
diff --git a/third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.h b/third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.h
index 7d2972ddbb2e809edb42c7c4a07ae705206894f0..8fa41acd8528e836abb870e51c04fddfcd5a46c8 100644
--- a/third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.h
+++ b/third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.h
@@ -131,7 +131,10 @@ inline SkScalar skBlurRadiusToSigma(SkScalar radius) {
}
template <typename PrimitiveType>
-void drawPlatformFocusRing(const PrimitiveType&, SkCanvas*, SkColor, int width);
+void drawPlatformFocusRing(const PrimitiveType&,
+ SkCanvas*,
+ SkColor,
+ float width);
// TODO(fmalita): remove in favor of direct SrcRectConstraint use.
inline SkCanvas::SrcRectConstraint WebCoreClampingModeToSkiaRectConstraint(

Powered by Google App Engine
This is Rietveld 408576698