Index: tools/debugger/SkDebugCanvas.cpp |
diff --git a/tools/debugger/SkDebugCanvas.cpp b/tools/debugger/SkDebugCanvas.cpp |
index 8b71c0fb2c44c55d9b7168b97585256372aa2dc9..0c79b755f36525375d01a869dc3ba829df15ff15 100644 |
--- a/tools/debugger/SkDebugCanvas.cpp |
+++ b/tools/debugger/SkDebugCanvas.cpp |
@@ -323,7 +323,7 @@ Json::Value SkDebugCanvas::toJSON(UrlDataManager& urlDataManager, int n) { |
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)->toJSON(); |
+ commands[i] = this->getDrawCommandAt(i)->toJSON(urlDataManager); |
} |
result[SKDEBUGCANVAS_ATTRIBUTE_COMMANDS] = commands; |
return result; |