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

Unified Diff: Source/core/platform/graphics/skia/SkiaUtils.h

Issue 19846006: Use const path in SkPathContainsPoint (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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: Source/core/platform/graphics/skia/SkiaUtils.h
diff --git a/Source/core/platform/graphics/skia/SkiaUtils.h b/Source/core/platform/graphics/skia/SkiaUtils.h
index 757f4e2be684800fb324b3d34a01c6022587b86b..b56e5c865725b56ff1b78cb54f5fddf6eec7d82f 100644
--- a/Source/core/platform/graphics/skia/SkiaUtils.h
+++ b/Source/core/platform/graphics/skia/SkiaUtils.h
@@ -76,7 +76,7 @@ inline SkRect WebCoreFloatRectToSKRect(const FloatRect& rect)
void ClipRectToCanvas(const GraphicsContext*, const SkRect& srcRect, SkRect* destRect);
// Determine if a given WebKit point is contained in a path
-bool SkPathContainsPoint(SkPath*, const FloatPoint&, SkPath::FillType);
+bool SkPathContainsPoint(const SkPath&, const FloatPoint&, SkPath::FillType);
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698