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

Unified Diff: ash/system/status_area_widget.cc

Issue 2884683003: mash: Remove WmWindow usage from ash/system/web_notification (Closed)
Patch Set: curlies Created 3 years, 7 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/system/web_notification/web_notification_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/status_area_widget.cc
diff --git a/ash/system/status_area_widget.cc b/ash/system/status_area_widget.cc
index 3f626b47954356fcd5fc12499b532bcca66aab40..b009795fc7318b86382f432b5f5e7f36f8304885 100644
--- a/ash/system/status_area_widget.cc
+++ b/ash/system/status_area_widget.cc
@@ -201,8 +201,8 @@ void StatusAreaWidget::AddSystemTray() {
void StatusAreaWidget::AddWebNotificationTray() {
DCHECK(system_tray_);
- web_notification_tray_ = new WebNotificationTray(
- wm_shelf_, WmWindow::Get(this->GetNativeWindow()), system_tray_);
+ web_notification_tray_ =
+ new WebNotificationTray(wm_shelf_, GetNativeWindow(), system_tray_);
status_area_widget_delegate_->AddTray(web_notification_tray_);
}
« no previous file with comments | « no previous file | ash/system/web_notification/web_notification_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698