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

Unified Diff: third_party/WebKit/WebCore/platform/graphics/skia/PlatformContextSkia.h

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/PlatformContextSkia.h
===================================================================
--- third_party/WebKit/WebCore/platform/graphics/skia/PlatformContextSkia.h (revision 7906)
+++ third_party/WebKit/WebCore/platform/graphics/skia/PlatformContextSkia.h (working copy)
@@ -116,8 +116,8 @@
void beginPath();
void addPath(const SkPath&);
- const SkPath* currentPathInGlobalCoordinates() const { return &m_path; }
- SkPath currentPathInLocalCoordinates() const;
+ // Returns the current path in local coordinates.
+ SkPath currentPath() const;
SkColor fillColor() const;
@@ -162,7 +162,7 @@
// mStateStack.back().
State* m_state;
- // Current path.
+ // Current path in global coordinates.
SkPath m_path;
#if defined(__linux__)

Powered by Google App Engine
This is Rietveld 408576698