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

Unified Diff: experimental/SkV8Example/DrawingMethods.cpp

Issue 661033005: SkV8Sample: Now with Path2D and Path2DBuilder. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: path* Created 6 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
« no previous file with comments | « no previous file | experimental/SkV8Example/Path2D.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/SkV8Example/DrawingMethods.cpp
diff --git a/experimental/SkV8Example/DrawingMethods.cpp b/experimental/SkV8Example/DrawingMethods.cpp
index fdc8dc7d63bb07b03f5d9f8f944b04b5dde7c938..5fcdd6a5e158eee1ce007e4645b09fb384d130c7 100644
--- a/experimental/SkV8Example/DrawingMethods.cpp
+++ b/experimental/SkV8Example/DrawingMethods.cpp
@@ -114,7 +114,7 @@ void DrawingMethods::DrawPath(const v8::FunctionCallbackInfo<v8::Value>& args) {
fillStyle.setColor(SK_ColorBLACK);
fillStyle.setAntiAlias(true);
fillStyle.setStyle(SkPaint::kFill_Style);
- canvas->drawPath(path->getSkPath(), fillStyle);
+ canvas->drawPath(*(path->path()), fillStyle);
}
« no previous file with comments | « no previous file | experimental/SkV8Example/Path2D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698