| Index: tools/debugger/SkDebugCanvas.cpp
|
| diff --git a/tools/debugger/SkDebugCanvas.cpp b/tools/debugger/SkDebugCanvas.cpp
|
| index cc1733b7054fa3b33e3e201b674154d61058444f..34e582e187754b5661236df25ed1bad16d356bbc 100644
|
| --- a/tools/debugger/SkDebugCanvas.cpp
|
| +++ b/tools/debugger/SkDebugCanvas.cpp
|
| @@ -336,8 +336,7 @@
|
| result[SKDEBUGCANVAS_ATTRIBUTE_VERSION] = Json::Value(SKDEBUGCANVAS_VERSION);
|
| Json::Value commands = Json::Value(Json::arrayValue);
|
| for (int i = 0; i < this->getSize() && i <= n; i++) {
|
| - commands[i] = this->getDrawCommandAt(i)->drawToAndCollectJSON(canvas, urlDataManager,
|
| - i);
|
| + commands[i] = this->getDrawCommandAt(i)->drawToAndCollectJSON(canvas, urlDataManager);
|
| }
|
| result[SKDEBUGCANVAS_ATTRIBUTE_COMMANDS] = commands;
|
| return result;
|
|
|