Skip to content

Commit

Permalink
[Notification] fix compiler error. missing base::
Browse files Browse the repository at this point in the history
  • Loading branch information
jefry-vcube committed Jul 25, 2014
1 parent 2feac47 commit ca3f634
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nw_notification_manager_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ bool NotificationManagerWin::AddDesktopNotification(const content::ShowDesktopNo
if (status_icon == NULL) {
nw::Package* package = shell->GetPackage();
status_icon_ = status_tray_->CreateStatusIcon(StatusTray::NOTIFICATION_TRAY_ICON,
*(shell->window()->app_icon().ToImageSkia()), UTF8ToUTF16(package->GetName()));
*(shell->window()->app_icon().ToImageSkia()), base::UTF8ToUTF16(package->GetName()));
status_icon = status_icon_;
status_observer_ = new TrayObserver(this);
status_icon->AddObserver(status_observer_);
Expand Down
2 changes: 1 addition & 1 deletion src/nw_notification_manager_win.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class NotificationManagerWin : public NotificationManager{
bool DesktopNotificationPostDisplay() {
return NotificationManager::DesktopNotificationPostDisplay(render_process_id_, render_view_id_, notification_id_);
}
bool DesktopNotificationPostError(const string16& message) {
bool DesktopNotificationPostError(const base::string16& message) {
return NotificationManager::DesktopNotificationPostError(render_process_id_, render_view_id_, notification_id_, message);
}

Expand Down

0 comments on commit ca3f634

Please sign in to comment.