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

Unified Diff: content/renderer/browser_plugin/browser_plugin_browsertest.cc

Issue 13749004: Rewrite scoped_array<T> to scoped_ptr<T[]> in content/, Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « content/ppapi_plugin/broker_process_dispatcher.cc ('k') | content/renderer/hyphenator/hyphenator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/browser_plugin/browser_plugin_browsertest.cc
diff --git a/content/renderer/browser_plugin/browser_plugin_browsertest.cc b/content/renderer/browser_plugin/browser_plugin_browsertest.cc
index 5efffe96e0165337c020557b9c16a7c01b2b8826..626a8e51a67dc41bf3057864d5dce49b76357f25 100644
--- a/content/renderer/browser_plugin/browser_plugin_browsertest.cc
+++ b/content/renderer/browser_plugin/browser_plugin_browsertest.cc
@@ -121,7 +121,7 @@ std::string BrowserPluginTest::ExecuteScriptAndReturnString(
v8::Local<v8::String> v8_str = value->ToString();
int length = v8_str->Utf8Length() + 1;
- scoped_array<char> str(new char[length]);
+ scoped_ptr<char[]> str(new char[length]);
v8_str->WriteUtf8(str.get(), length);
return str.get();
}
« no previous file with comments | « content/ppapi_plugin/broker_process_dispatcher.cc ('k') | content/renderer/hyphenator/hyphenator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698