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

Unified Diff: ash/test/ash_test_base.cc

Issue 14297013: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (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 | « ash/system/tray_update.cc ('k') | ash/test/shell_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index 3346c3c53e3288570e9836aacf6a0e610173d52d..8fd6570905ea6fbf2be5989ba7e8a0d1c8faa266 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -186,7 +186,7 @@ void AshTestBase::TearDown() {
}
aura::test::EventGenerator& AshTestBase::GetEventGenerator() {
- if (!event_generator_.get()) {
+ if (!event_generator_) {
event_generator_.reset(
new aura::test::EventGenerator(new AshEventGeneratorDelegate()));
}
« no previous file with comments | « ash/system/tray_update.cc ('k') | ash/test/shell_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698