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); |
} |