Index: chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc |
diff --git a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc |
index 0f20d417ffd5dbb64a4c047322476089f6f39804..a1edb7236ab6db26fe1c27c069d95855e39fb363 100644 |
--- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc |
+++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc |
@@ -350,9 +350,9 @@ class LocalDiscoveryUITest : public WebUIBrowserTest { |
test_service_discovery_client_ = new TestServiceDiscoveryClient(); |
test_service_discovery_client_->Start(); |
- EXPECT_CALL(*test_service_discovery_client_, OnSendTo( |
- std::string((const char*)kQueryData, |
- sizeof(kQueryData)))) |
+ EXPECT_CALL( |
+ *test_service_discovery_client_.get(), |
+ OnSendTo(std::string((const char*)kQueryData, sizeof(kQueryData)))) |
.Times(AtLeast(2)) |
.WillOnce(InvokeWithoutArgs(&condition_devices_listed_, |
&TestMessageLoopCondition::Signal)) |