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

Unified Diff: chrome/browser/ui/ash/ash_util.cc

Issue 514293003: Run athena on chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments, rebase Created 6 years, 3 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: chrome/browser/ui/ash/ash_util.cc
diff --git a/chrome/browser/ui/ash/ash_util.cc b/chrome/browser/ui/ash/ash_util.cc
index 3012ab3178bcde5ae94f56164a3cb5196873fdd1..de8b919cffa99b1d67f288192468f1344f6973fb 100644
--- a/chrome/browser/ui/ash/ash_util.cc
+++ b/chrome/browser/ui/ash/ash_util.cc
@@ -13,8 +13,8 @@ namespace chrome {
bool IsNativeViewInAsh(gfx::NativeView native_view) {
#if defined(OS_CHROMEOS)
- // Optimization. There is only ash on ChromeOS.
- return true;
+ // Optimization. There is only ash or only athena on ChromeOS.
+ return ash::Shell::HasInstance();
#endif
if (!ash::Shell::HasInstance())

Powered by Google App Engine
This is Rietveld 408576698