Index: chrome/service/service_process.h |
diff --git a/chrome/service/service_process.h b/chrome/service/service_process.h |
index a3b8cdce0a2dca438c860b965d70c7f8d0604a37..19a2043cbb0f26e6c78118eef8675edf9e3bf3be 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_ |