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

Unified Diff: third_party/WebKit/WebCore/platform/graphics/skia/PathSkia.cpp

Issue 17454: Fixing gradient problem. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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/WebCore/platform/graphics/skia/PathSkia.cpp
===================================================================
--- third_party/WebKit/WebCore/platform/graphics/skia/PathSkia.cpp (revision 7838)
+++ third_party/WebKit/WebCore/platform/graphics/skia/PathSkia.cpp (working copy)
@@ -274,7 +274,9 @@
SkPaint paint;
context->platformContext()->setupPaintForStroking(&paint, 0, 0);
SkPath boundingPath;
- paint.getFillPath(*context->platformContext()->currentPath(), &boundingPath);
+ paint.getFillPath(
+ context->platformContext()->currentPathInLocalCoordinates(),
+ &boundingPath);
SkRect r;
boundingPath.computeBounds(&r, SkPath::kExact_BoundsType);
return r;

Powered by Google App Engine
This is Rietveld 408576698