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

Unified Diff: ash/autoclick/mus/autoclick_application.cc

Issue 2751523003: Convert Window Container Ids to an Enum (Closed)
Patch Set: Rebase ... Created 3 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 | « no previous file | ash/public/cpp/shell_window_ids.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/autoclick/mus/autoclick_application.cc
diff --git a/ash/autoclick/mus/autoclick_application.cc b/ash/autoclick/mus/autoclick_application.cc
index f38b6a76dc09d2a29c7e4942c9522dc831c7485a..80767f8cada8ce3950fa578ba423667d2ac6c2d5 100644
--- a/ash/autoclick/mus/autoclick_application.cc
+++ b/ash/autoclick/mus/autoclick_application.cc
@@ -114,7 +114,7 @@ void AutoclickApplication::Launch(uint32_t what, mash::mojom::LaunchMode how) {
params.mus_properties[ui::mojom::WindowManager::kContainerId_InitProperty] =
mojo::ConvertTo<std::vector<uint8_t>>(
- ash::kShellWindowId_OverlayContainer);
+ static_cast<int32_t>(ash::kShellWindowId_OverlayContainer));
params.show_state = ui::SHOW_STATE_FULLSCREEN;
widget_->Init(params);
} else {
« no previous file with comments | « no previous file | ash/public/cpp/shell_window_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698