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

Unified Diff: extensions/renderer/json_schema_unittest.cc

Issue 1899083003: Convert //extensions/renderer from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 | « extensions/renderer/i18n_custom_bindings.cc ('k') | extensions/renderer/messaging_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/json_schema_unittest.cc
diff --git a/extensions/renderer/json_schema_unittest.cc b/extensions/renderer/json_schema_unittest.cc
index 3a2191cad0fa7a6b5b757b299a353d4360bb7b9c..b5e878fb3503015a838a5fe8a3a4bffae833bccb 100644
--- a/extensions/renderer/json_schema_unittest.cc
+++ b/extensions/renderer/json_schema_unittest.cc
@@ -79,7 +79,7 @@ TEST_F(JsonSchemaTest, TestType) {
{
// Create an ArrayBuffer in another v8 context and pass it to the test
// through a global.
- scoped_ptr<ModuleSystemTestEnvironment> other_env(CreateEnvironment());
+ std::unique_ptr<ModuleSystemTestEnvironment> other_env(CreateEnvironment());
v8::Context::Scope scope(other_env->context()->v8_context());
v8::Local<v8::ArrayBuffer> array_buffer(
v8::ArrayBuffer::New(env()->isolate(), 1));
« no previous file with comments | « extensions/renderer/i18n_custom_bindings.cc ('k') | extensions/renderer/messaging_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698