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); |