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

Unified Diff: ash/common/system/chromeos/palette/tools/capture_screen_action.cc

Issue 2738133003: Promotes a handful of members from WmShell to Shell (Closed)
Patch Set: merge Created 3 years, 9 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
Index: ash/common/system/chromeos/palette/tools/capture_screen_action.cc
diff --git a/ash/common/system/chromeos/palette/tools/capture_screen_action.cc b/ash/common/system/chromeos/palette/tools/capture_screen_action.cc
index c23e19c706dc91da02834a5b0f3a7af58c7387bd..29cfd1040b95330a03cf607a38a6928594486c50 100644
--- a/ash/common/system/chromeos/palette/tools/capture_screen_action.cc
+++ b/ash/common/system/chromeos/palette/tools/capture_screen_action.cc
@@ -6,8 +6,8 @@
#include "ash/common/palette_delegate.h"
#include "ash/common/system/chromeos/palette/palette_ids.h"
-#include "ash/common/wm_shell.h"
#include "ash/resources/vector_icons/vector_icons.h"
+#include "ash/shell.h"
#include "ash/strings/grit/ash_strings.h"
#include "ui/base/l10n/l10n_util.h"
@@ -31,7 +31,7 @@ void CaptureScreenAction::OnEnable() {
delegate()->DisableTool(GetToolId());
delegate()->HidePaletteImmediately();
- WmShell::Get()->palette_delegate()->TakeScreenshot();
+ Shell::GetInstance()->palette_delegate()->TakeScreenshot();
}
views::View* CaptureScreenAction::CreateView() {

Powered by Google App Engine
This is Rietveld 408576698