Index: remoting/host/plugin/host_script_object.cc |
diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc |
index d66d361da8e550a1ffac36237e5281a8228e03e4..cf4e48adddb501527ad6bafa6463d9be83162d1a 100644 |
--- a/remoting/host/plugin/host_script_object.cc |
+++ b/remoting/host/plugin/host_script_object.cc |
@@ -1427,7 +1427,7 @@ bool HostNPScriptObject::LocalizeStringWithSubstitution( |
const char* substitution, |
string16* result) { |
int argc = substitution ? 2 : 1; |
- scoped_array<NPVariant> args(new NPVariant[argc]); |
+ scoped_ptr<NPVariant[]> args(new NPVariant[argc]); |
STRINGZ_TO_NPVARIANT(tag, args[0]); |
if (substitution) { |
STRINGZ_TO_NPVARIANT(substitution, args[1]); |