diff options
Diffstat (limited to 'chrome/service/service_process.h')
-rw-r--r-- | chrome/service/service_process.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/service/service_process.h b/chrome/service/service_process.h index a3b8cdc..19a2043 100644 --- a/chrome/service/service_process.h +++ b/chrome/service/service_process.h @@ -142,6 +142,10 @@ class ServiceProcess : public CloudPrintProxy::Client, DISALLOW_COPY_AND_ASSIGN(ServiceProcess); }; +// Disable refcounting for runnable method because it is really not needed +// when we post tasks on the main message loop. +DISABLE_RUNNABLE_METHOD_REFCOUNT(ServiceProcess); + extern ServiceProcess* g_service_process; #endif // CHROME_SERVICE_SERVICE_PROCESS_H_ |