Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(785)

Unified Diff: debugger/SkDebugger.h

Issue 837483002: debugger: Update the picture view when the first command is selected (Closed) Base URL: https://skia.googlesource.com/skia.git@debugger-small-things-03-geometry-view-pause
Patch Set: missing hunk Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | debugger/SkDebugger.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: debugger/SkDebugger.h
diff --git a/debugger/SkDebugger.h b/debugger/SkDebugger.h
index 683b98d6d949eae6f859676b27aeaf560c32166c..5906acc43ee5137831174c9b2cf6a8b856f69978 100644
--- a/debugger/SkDebugger.h
+++ b/debugger/SkDebugger.h
@@ -26,7 +26,7 @@ public:
fIndex = index;
}
void draw(SkCanvas* canvas) {
- if (fIndex > 0) {
+ if (fIndex >= 0) {
fDebugCanvas->drawTo(canvas, fIndex);
}
}
« no previous file with comments | « no previous file | debugger/SkDebugger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698