Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: ash/test/test_metro_viewer_process_host.cc

Issue 750273002: Fix implicit scoped_refptr<T> to T* conversion in TestMetroViewerProcessHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/test_metro_viewer_process_host.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_metro_viewer_process_host.cc
diff --git a/ash/test/test_metro_viewer_process_host.cc b/ash/test/test_metro_viewer_process_host.cc
index 156cf99770c84fe96e732ff9bba86068f489614b..00c00d257c18bb4af126c45ec7618befe7143228 100644
--- a/ash/test/test_metro_viewer_process_host.cc
+++ b/ash/test/test_metro_viewer_process_host.cc
@@ -14,9 +14,8 @@ namespace ash {
namespace test {
TestMetroViewerProcessHost::TestMetroViewerProcessHost(
- base::SingleThreadTaskRunner* ipc_task_runner)
- : MetroViewerProcessHost(ipc_task_runner),
- closed_unexpectedly_(false) {
+ const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner)
+ : MetroViewerProcessHost(ipc_task_runner), closed_unexpectedly_(false) {
Daniel Erat 2014/11/24 18:53:55 nit: back to one per line since they don't all fit
dcheng 2014/11/24 19:02:36 Yes. I'd prefer not to fight clang-format, because
Nico 2014/11/24 19:05:22 I think clang-format used to do one-per-line-or-al
}
TestMetroViewerProcessHost::~TestMetroViewerProcessHost() {
« no previous file with comments | « ash/test/test_metro_viewer_process_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698