Index: win8/viewer/metro_viewer_process_host.h |
diff --git a/win8/viewer/metro_viewer_process_host.h b/win8/viewer/metro_viewer_process_host.h |
index 1e47e8e02d5059c9abbb63345afa321e96222893..95f36880a8e0f6b993444ce66baac9595899e149 100644 |
--- a/win8/viewer/metro_viewer_process_host.h |
+++ b/win8/viewer/metro_viewer_process_host.h |
@@ -7,6 +7,7 @@ |
#include "base/basictypes.h" |
#include "base/callback.h" |
+#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
#include "base/threading/non_thread_safe.h" |
@@ -55,7 +56,7 @@ class METRO_VIEWER_EXPORT MetroViewerProcessHost : public IPC::Listener, |
// viewer can otherwise be launched synchronously via |
// LaunchViewerAndWaitForConnection(). |
explicit MetroViewerProcessHost( |
- base::SingleThreadTaskRunner* ipc_task_runner); |
+ const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner); |
virtual ~MetroViewerProcessHost(); |
// Returns the process id of the viewer process if one is connected to this |