commit | 8c89c528f31dff25bce74aabe28abe23a772cb1e | [log] [tgz] |
---|---|---|
author | fmalita <fmalita@chromium.org> | Sat Nov 08 16:18:56 2014 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Sat Nov 08 16:18:56 2014 -0800 |
tree | eab3e08499d54b9b4ddc5c168d070031ef6c7989 | |
parent | 4973d9da4aeb7c4d8b8e67e167586c7cc9534eee [diff] [blame] |
Revert of Revert of SkDrawCommand scrubbing (patchset #1 id:1 of https://codereview.chromium.org/712683002/) Reason for revert: Chromium clients updated, this should be canary-proof now. Original issue's description: > Revert of SkDrawCommand scrubbing (patchset #2 id:20001 of https://codereview.chromium.org/706363002/) > > Reason for revert: > Canary borkage. > > Original issue's description: > > SkDrawCommand scrubbing > > > > Remove unused ctor, constify, etc. > > > > R=robertphillips@google.com > > > > Committed: https://skia.googlesource.com/skia/+/1931ec5b5dac68f1e452af0c65161bdce35b2dec > > TBR=robertphillips@google.com > NOTREECHECKS=true > NOTRY=true > > Committed: https://skia.googlesource.com/skia/+/9063ddd511f8e0d8c7454950cbc56e273678bf60 TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/708333002
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp index 3b68365..b07b383 100644 --- a/src/utils/debugger/SkDebugCanvas.cpp +++ b/src/utils/debugger/SkDebugCanvas.cpp
@@ -379,7 +379,7 @@ 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(); }