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

Unified Diff: ash/focus_cycler_unittest.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/drag_drop/drag_drop_controller.cc ('k') | ash/launcher/launcher_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/focus_cycler_unittest.cc
diff --git a/ash/focus_cycler_unittest.cc b/ash/focus_cycler_unittest.cc
index bb750525944c7c90a8ea2a9077fbd7a8958daf98..0ff7a9bd132bb094ea1a8e8ae2ec73bbbad812e6 100644
--- a/ash/focus_cycler_unittest.cc
+++ b/ash/focus_cycler_unittest.cc
@@ -49,7 +49,7 @@ class FocusCyclerTest : public AshTestBase {
}
virtual void TearDown() OVERRIDE {
- if (tray_.get()) {
+ if (tray_) {
GetStatusAreaWidgetDelegate(tray_->GetWidget())->
SetFocusCyclerForTesting(NULL);
tray_.reset();
@@ -65,7 +65,7 @@ class FocusCyclerTest : public AshTestBase {
protected:
// Creates the system tray, returning true on success.
bool CreateTray() {
- if (tray_.get())
+ if (tray_)
return false;
aura::Window* parent = Shell::GetPrimaryRootWindowController()->
GetContainer(ash::internal::kShellWindowId_StatusContainer);
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | ash/launcher/launcher_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698