Index: ash/wm/session_state_controller_impl2.cc |
diff --git a/ash/wm/session_state_controller_impl2.cc b/ash/wm/session_state_controller_impl2.cc |
index 4e533a4a9c8472dc24aa768a51d0ef1c8b5b0827..f21a8d7d6ba95aab7871215618ebfc879cc7a1b2 100644 |
--- a/ash/wm/session_state_controller_impl2.cc |
+++ b/ash/wm/session_state_controller_impl2.cc |
@@ -587,7 +587,7 @@ void SessionStateControllerImpl2::StartUnlockAnimationAfterUIDestroyed() { |
} |
void SessionStateControllerImpl2::StoreUnlockedProperties() { |
- if (!unlocked_properties_.get()) { |
+ if (!unlocked_properties_) { |
unlocked_properties_.reset(new UnlockedStateProperties()); |
unlocked_properties_->background_is_hidden = IsBackgroundHidden(); |
} |
@@ -602,7 +602,7 @@ void SessionStateControllerImpl2::StoreUnlockedProperties() { |
} |
void SessionStateControllerImpl2::RestoreUnlockedProperties() { |
- if (!unlocked_properties_.get()) |
+ if (!unlocked_properties_) |
return; |
if (unlocked_properties_->background_is_hidden) { |
HideBackground(); |