Index: src/utils/debugger/SkDebugCanvas.cpp |
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp |
index 3b68365fc13a4c869180e409f8223fbc04ed41cc..b07b383781a3d584b155fcd4fcc8f5ee6fdd485c 100644 |
--- a/src/utils/debugger/SkDebugCanvas.cpp |
+++ b/src/utils/debugger/SkDebugCanvas.cpp |
@@ -379,7 +379,7 @@ void SkDebugCanvas::setDrawCommandAt(int index, SkDrawCommand* command) { |
fCommandVector[index] = command; |
} |
-SkTDArray<SkString*>* SkDebugCanvas::getCommandInfo(int index) { |
+const SkTDArray<SkString*>* SkDebugCanvas::getCommandInfo(int index) const { |
SkASSERT(index < fCommandVector.count()); |
return fCommandVector[index]->Info(); |
} |