diff options
author | fmalita <fmalita@chromium.org> | 2014-11-08 16:18:56 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-08 16:18:56 -0800 |
commit | 8c89c528f31dff25bce74aabe28abe23a772cb1e (patch) | |
tree | eab3e08499d54b9b4ddc5c168d070031ef6c7989 /debugger | |
parent | 4973d9da4aeb7c4d8b8e67e167586c7cc9534eee (diff) |
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
Diffstat (limited to 'debugger')
-rw-r--r-- | debugger/QT/SkDebuggerGUI.cpp | 3 | ||||
-rw-r--r-- | debugger/SkDebugger.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp index 59bfcca5fe..4901d62389 100644 --- a/debugger/QT/SkDebuggerGUI.cpp +++ b/debugger/QT/SkDebuggerGUI.cpp @@ -689,8 +689,7 @@ void SkDebuggerGUI::registerListClick(QListWidgetItem *item) { fCanvasWidget.drawTo(currentRow); fImageWidget.draw(); } - SkTDArray<SkString*> *currInfo = fDebugger.getCommandInfo( - currentRow); + const SkTDArray<SkString*> *currInfo = fDebugger.getCommandInfo(currentRow); /* TODO(chudy): Add command type before parameters. Rename v * to something more informative. */ diff --git a/debugger/SkDebugger.h b/debugger/SkDebugger.h index 53b480a28d..5359b10fe9 100644 --- a/debugger/SkDebugger.h +++ b/debugger/SkDebugger.h @@ -79,7 +79,7 @@ public: return fDebugCanvas->getCommandAtPoint(x, y, index); } - SkTDArray<SkString*>* getCommandInfo(int index) { + const SkTDArray<SkString*>* getCommandInfo(int index) const { return fDebugCanvas->getCommandInfo(index); } |