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

Unified Diff: ui/aura/test/aura_test_helper.cc

Issue 855023003: Add presubmit check for scoped_ptr usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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 | « ui/app_list/test/test_search_result.cc ('k') | ui/events/event_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/aura_test_helper.cc
diff --git a/ui/aura/test/aura_test_helper.cc b/ui/aura/test/aura_test_helper.cc
index 3b024743db70761b9fc84584eb03976f507ffadf..837f81e9ae64a3f267d9d36c57e3070e244b3426 100644
--- a/ui/aura/test/aura_test_helper.cc
+++ b/ui/aura/test/aura_test_helper.cc
@@ -60,8 +60,7 @@ void AuraTestHelper::SetUp(ui::ContextFactory* context_factory) {
Env::GetInstance()->set_context_factory(context_factory);
// Unit tests generally don't want to query the system, rather use the state
// from RootWindow.
- EnvTestHelper(Env::GetInstance()).SetInputStateLookup(
- scoped_ptr<InputStateLookup>());
+ EnvTestHelper(Env::GetInstance()).SetInputStateLookup(nullptr);
ui::InitializeInputMethodForTesting();
« no previous file with comments | « ui/app_list/test/test_search_result.cc ('k') | ui/events/event_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698