| Index: remoting/client/plugin/pepper_plugin_thread_delegate.cc
|
| diff --git a/remoting/client/plugin/pepper_plugin_thread_delegate.cc b/remoting/client/plugin/pepper_plugin_thread_delegate.cc
|
| index 730c09eb9a26ef9a0fdd219e5a51643f534dc9b2..47a039eeb38b481c1855b9eaa6f79326457741b7 100644
|
| --- a/remoting/client/plugin/pepper_plugin_thread_delegate.cc
|
| +++ b/remoting/client/plugin/pepper_plugin_thread_delegate.cc
|
| @@ -16,14 +16,14 @@ PepperPluginThreadDelegate::PepperPluginThreadDelegate()
|
| PepperPluginThreadDelegate::~PepperPluginThreadDelegate() { }
|
|
|
| bool PepperPluginThreadDelegate::RunOnPluginThread(
|
| - int delay_ms, void(CDECL function)(void*), void* data) {
|
| + base::TimeDelta delay, void(CDECL function)(void*), void* data) {
|
| // It is safe to cast |function| to PP_CompletionCallback_Func,
|
| // which is defined as void(*)(void*, int). The callee will just
|
| // ignore the last argument. The only case when it may be unsafe is
|
| // with VS when default calling convention is set to __stdcall, but
|
| // this code will not typecheck in that case.
|
| core_->CallOnMainThread(
|
| - delay_ms, pp::CompletionCallback(
|
| + delay.InMilliseconds(), pp::CompletionCallback(
|
| reinterpret_cast<PP_CompletionCallback_Func>(function), data), 0);
|
| return true;
|
| }
|
|
|