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

Unified Diff: content/public/test/mock_blob_url_request_context.cc

Issue 504273002: Remove implicit conversions from scoped_refptr to T* in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/public/test/browser_test_utils.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_blob_url_request_context.cc
diff --git a/content/public/test/mock_blob_url_request_context.cc b/content/public/test/mock_blob_url_request_context.cc
index 8c51b49160d8279ee9b1634b8a18ff272856392f..57a432f724fb3844dafa236dca743892a22e95d1 100644
--- a/content/public/test/mock_blob_url_request_context.cc
+++ b/content/public/test/mock_blob_url_request_context.cc
@@ -38,7 +38,7 @@ ScopedTextBlob::ScopedTextBlob(
scoped_refptr<storage::BlobData> blob_data(new storage::BlobData(blob_id_));
if (!data.empty())
blob_data->AppendData(data);
- handle_ = context_->AddFinishedBlob(blob_data);
+ handle_ = context_->AddFinishedBlob(blob_data.get());
}
ScopedTextBlob::~ScopedTextBlob() {
« no previous file with comments | « content/public/test/browser_test_utils.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698