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

Unified Diff: ash/wm/workspace/workspace_manager.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/wm/workspace/workspace_cycler.cc ('k') | ash/wm/workspace/workspace_window_resizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_manager.cc
diff --git a/ash/wm/workspace/workspace_manager.cc b/ash/wm/workspace/workspace_manager.cc
index 2378dd156dc56d6d5d911019012c7fe6add66922..ad4d5fdafbed2bb1070c271feb3060f58543e792 100644
--- a/ash/wm/workspace/workspace_manager.cc
+++ b/ash/wm/workspace/workspace_manager.cc
@@ -341,7 +341,7 @@ void WorkspaceManager::SetActiveWorkspace(Workspace* workspace,
// It is possible for a user to use accelerator keys to restore windows etc
// while the user is cycling through workspaces.
- if (workspace_cycler_.get())
+ if (workspace_cycler_)
workspace_cycler_->AbortCycling();
pending_workspaces_.erase(workspace);
@@ -422,7 +422,7 @@ void WorkspaceManager::MoveWorkspaceToPendingOrDelete(
// The user may have closed or minimized a window via accelerator keys while
// cycling through workspaces.
- if (workspace_cycler_.get())
+ if (workspace_cycler_)
workspace_cycler_->AbortCycling();
if (workspace == active_workspace_)
« no previous file with comments | « ash/wm/workspace/workspace_cycler.cc ('k') | ash/wm/workspace/workspace_window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698