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

Unified Diff: debugger/SkDebugger.cpp

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 | « debugger/SkDebugger.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: debugger/SkDebugger.cpp
diff --git a/debugger/SkDebugger.cpp b/debugger/SkDebugger.cpp
index b2200433b242726eb8fe8294c02c1bcf08e179f8..43823c12f06eab1ebc595499f26fd35bdd49f951 100644
--- a/debugger/SkDebugger.cpp
+++ b/debugger/SkDebugger.cpp
@@ -11,11 +11,11 @@
#include "SkString.h"
-SkDebugger::SkDebugger() {
+SkDebugger::SkDebugger()
+ : fPicture(NULL)
+ , fIndex(-1) {
// Create this some other dynamic way?
fDebugCanvas = new SkDebugCanvas(0, 0);
- fPicture = NULL;
- fIndex = 0;
}
SkDebugger::~SkDebugger() {
« no previous file with comments | « debugger/SkDebugger.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698