| Index: platform_tools/nacl/src/nacl_debugger.cpp
|
| diff --git a/platform_tools/nacl/src/nacl_debugger.cpp b/platform_tools/nacl/src/nacl_debugger.cpp
|
| index b80dde093845a612b79d9105417bb4ec0635fd80..7ea55bdf0dca13c3817019d6f107a0aaf86a4e64 100644
|
| --- a/platform_tools/nacl/src/nacl_debugger.cpp
|
| +++ b/platform_tools/nacl/src/nacl_debugger.cpp
|
| @@ -76,11 +76,12 @@ public:
|
| picture->unref();
|
|
|
| // Set up the command list.
|
| - SkTArray<SkString>* commands = fDebugger.getDrawCommandsAsStrings();
|
| + SkTArray<SkString> commands;
|
| + fDebugger.getDrawCommandsAsStrings(&commands);
|
| PostMessage("ClearCommands");
|
| - for (int i = 0; i < commands->count(); ++i) {
|
| + for (int i = 0; i < commands.count(); ++i) {
|
| SkString addCommand("AddCommand:");
|
| - addCommand.append((*commands)[i]);
|
| + addCommand.append(commands[i]);
|
| PostMessage(addCommand.c_str());
|
| }
|
| PostMessage("UpdateCommands");
|
|
|