| Index: chrome/browser/renderer_host/pepper/pepper_talk_host.cc
|
| diff --git a/chrome/browser/renderer_host/pepper/pepper_talk_host.cc b/chrome/browser/renderer_host/pepper/pepper_talk_host.cc
|
| index b144cadf706cdc5653672199188862a085eca6b7..e185286e08110b665dcc91445f3a51ce6d077653 100644
|
| --- a/chrome/browser/renderer_host/pepper/pepper_talk_host.cc
|
| +++ b/chrome/browser/renderer_host/pepper/pepper_talk_host.cc
|
| @@ -41,7 +41,8 @@ ppapi::host::ReplyMessageContext GetPermissionOnUIThread(
|
| if (!render_frame_host)
|
| return reply; // RFH destroyed while task was pending.
|
|
|
| -#if defined(USE_ASH)
|
| + // crbug.com/381398, crbug.com/413906 for !USE_ATHENA
|
| +#if defined(USE_ASH) && !defined(USE_ATHENA)
|
| base::string16 title;
|
| base::string16 message;
|
|
|
| @@ -100,7 +101,7 @@ ppapi::host::ReplyMessageContext StartRemotingOnUIThread(
|
| return reply; // RFH destroyed while task was pending.
|
| }
|
|
|
| -#if defined(USE_ASH) && defined(OS_CHROMEOS)
|
| +#if defined(USE_ASH) && defined(OS_CHROMEOS) && !defined(USE_ATHENA)
|
| base::Closure stop_callback_ui_thread =
|
| base::Bind(&OnTerminateRemotingEventOnUIThread, stop_callback);
|
|
|
| @@ -116,7 +117,7 @@ ppapi::host::ReplyMessageContext StartRemotingOnUIThread(
|
|
|
| void StopRemotingOnUIThread() {
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
| -#if defined(USE_ASH) && defined(OS_CHROMEOS)
|
| +#if defined(USE_ASH) && defined(OS_CHROMEOS) && !defined(USE_ATHENA)
|
| if (ash::Shell::GetInstance()) {
|
| ash::Shell::GetInstance()->system_tray_notifier()->NotifyScreenShareStop();
|
| }
|
|
|