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

Unified Diff: chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc

Issue 505913002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add {} Created 6 years, 4 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
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))

Powered by Google App Engine
This is Rietveld 408576698