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

Unified Diff: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 months 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 | « chrome/browser/prefs/pref_value_store.cc ('k') | chrome/browser/printing/print_job_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
diff --git a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
index 274ee5e8a71fdf2000e555d2849a731943ac07b5..ac2053af5f2ffbb431ca1ab1dbe60d6f15f6e964 100644
--- a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
+++ b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
@@ -93,7 +93,7 @@ class TestServiceProcess : public ServiceProcess {
bool Initialize(MessageLoopForUI* message_loop, ServiceProcessState* state);
base::MessageLoopProxy* IOMessageLoopProxy() {
- return io_thread_->message_loop_proxy();
+ return io_thread_->message_loop_proxy().get();
}
};
@@ -287,7 +287,7 @@ class CloudPrintProxyPolicyStartupTest : public base::MultiProcessTest,
virtual void SetUp();
base::MessageLoopProxy* IOMessageLoopProxy() {
- return io_thread_.message_loop_proxy();
+ return io_thread_.message_loop_proxy().get();
}
base::ProcessHandle Launch(const std::string& name);
void WaitForConnect();
@@ -406,7 +406,7 @@ base::ProcessHandle CloudPrintProxyPolicyStartupTest::Launch(
void CloudPrintProxyPolicyStartupTest::WaitForConnect() {
observer_.Wait();
EXPECT_TRUE(CheckServiceProcessReady());
- EXPECT_TRUE(base::MessageLoopProxy::current());
+ EXPECT_TRUE(base::MessageLoopProxy::current().get());
ServiceProcessControl::GetInstance()->SetChannel(new IPC::ChannelProxy(
GetServiceProcessChannel(), IPC::Channel::MODE_NAMED_CLIENT,
ServiceProcessControl::GetInstance(), IOMessageLoopProxy()));
« no previous file with comments | « chrome/browser/prefs/pref_value_store.cc ('k') | chrome/browser/printing/print_job_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698