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

Unified Diff: debugger/QT/SkDebuggerGUI.h

Issue 821663003: Change DebugCanvas API to not encourage memory leaks (Closed) Base URL: https://skia.googlesource.com/skia.git@debugger-raster-black-bg
Patch Set: Created 6 years 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/QT/SkDebuggerGUI.cpp » ('j') | src/utils/debugger/SkDebugCanvas.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: debugger/QT/SkDebuggerGUI.h
diff --git a/debugger/QT/SkDebuggerGUI.h b/debugger/QT/SkDebuggerGUI.h
index 3f445500c7801a7c8e18c94080d3d0ce5c644801..9cc06256faa042da348de70d825183d6bc987fb6 100644
--- a/debugger/QT/SkDebuggerGUI.h
+++ b/debugger/QT/SkDebuggerGUI.h
@@ -336,12 +336,12 @@ private:
/**
Populates the list widget with the vector of strings passed in.
*/
- void setupListWidget(SkTArray<SkString>* commands, SkTDArray<size_t>* offsets);
+ void setupListWidget(const SkTArray<SkString>& commands, const SkTDArray<size_t>& offsets);
/**
Populates the combo box widget with the vector of strings passed in.
*/
- void setupComboBox(SkTArray<SkString>* command);
+ void setupComboBox(const SkTArray<SkString>& command);
/**
Fills in the overview pane with text
« no previous file with comments | « no previous file | debugger/QT/SkDebuggerGUI.cpp » ('j') | src/utils/debugger/SkDebugCanvas.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698