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

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

Issue 17633: Push drawPath() call into PlatformContextSkia to avoid juggling two copies of... (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 7906)
+++ third_party/WebKit/WebCore/platform/graphics/skia/PathSkia.cpp (working copy)
@@ -274,9 +274,7 @@
SkPaint paint;
context->platformContext()->setupPaintForStroking(&paint, 0, 0);
SkPath boundingPath;
- paint.getFillPath(
- context->platformContext()->currentPathInLocalCoordinates(),
- &boundingPath);
+ paint.getFillPath(context->platformContext()->currentPath(), &boundingPath);
SkRect r;
boundingPath.computeBounds(&r, SkPath::kExact_BoundsType);
return r;

Powered by Google App Engine
This is Rietveld 408576698