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

Unified Diff: extensions/renderer/api_test_base.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/api_test_base.h ('k') | extensions/renderer/app_window_custom_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/api_test_base.cc
diff --git a/extensions/renderer/api_test_base.cc b/extensions/renderer/api_test_base.cc
index 81ec07f18d6cc876200321de9c5770ef560792d1..0a5e458aba80aa80ded539a610fe8eaab7c3c50a 100644
--- a/extensions/renderer/api_test_base.cc
+++ b/extensions/renderer/api_test_base.cc
@@ -128,15 +128,10 @@ void ApiTestEnvironment::RegisterModules() {
NULL,
v8_schema_registry_.get());
env()->module_system()->RegisterNativeHandler(
- "process",
- scoped_ptr<NativeHandler>(new ProcessInfoNativeHandler(
- env()->context(),
- env()->context()->GetExtensionID(),
- env()->context()->GetContextTypeDescription(),
- false,
- false,
- 2,
- false)));
+ "process", std::unique_ptr<NativeHandler>(new ProcessInfoNativeHandler(
+ env()->context(), env()->context()->GetExtensionID(),
+ env()->context()->GetContextTypeDescription(), false,
+ false, 2, false)));
env()->RegisterTestFile("test_environment_specific_bindings",
"unit_test_environment_specific_bindings.js");
« no previous file with comments | « extensions/renderer/api_test_base.h ('k') | extensions/renderer/app_window_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698