Index: components/test_runner/test_runner.cc |
diff --git a/components/test_runner/test_runner.cc b/components/test_runner/test_runner.cc |
index 5fd5a1b34f95f0e07cab348a3aa7a4dd597fcd64..f97ed57d0d2e1aca28beb48b09d9b7ee7b35da8b 100644 |
--- a/components/test_runner/test_runner.cc |
+++ b/components/test_runner/test_runner.cc |
@@ -78,7 +78,7 @@ namespace { |
WebString V8StringToWebString(v8::Local<v8::String> v8_str) { |
int length = v8_str->Utf8Length() + 1; |
- scoped_ptr<char[]> chars(new char[length]); |
+ std::unique_ptr<char[]> chars(new char[length]); |
v8_str->WriteUtf8(chars.get(), length); |
return WebString::fromUTF8(chars.get()); |
} |