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

Unified Diff: sync/internal_api/http_bridge_unittest.cc

Issue 1815363002: Add RetainedRef uses where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « storage/browser/quota/quota_manager_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/http_bridge_unittest.cc
diff --git a/sync/internal_api/http_bridge_unittest.cc b/sync/internal_api/http_bridge_unittest.cc
index 1c83634f66941ded2adbe8e6f76f5b88019e1d63..f69bc755da6ee0f18fc4fb07d599bacb33736a16 100644
--- a/sync/internal_api/http_bridge_unittest.cc
+++ b/sync/internal_api/http_bridge_unittest.cc
@@ -385,8 +385,8 @@ TEST_F(MAYBE_SyncHttpBridgeTest, Abort) {
int response_code = 0;
io_thread()->task_runner()->PostTask(
- FROM_HERE,
- base::Bind(&MAYBE_SyncHttpBridgeTest::Abort, http_bridge));
+ FROM_HERE, base::Bind(&MAYBE_SyncHttpBridgeTest::Abort,
+ base::RetainedRef(http_bridge)));
bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code);
EXPECT_FALSE(success);
EXPECT_EQ(net::ERR_ABORTED, os_error);
« no previous file with comments | « storage/browser/quota/quota_manager_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698