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

Unified Diff: webkit/browser/blob/blob_storage_context_unittest.cc

Issue 16155009: Update webkit/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « webkit/browser/blob/blob_storage_context.cc ('k') | webkit/browser/blob/blob_storage_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/blob/blob_storage_context_unittest.cc
diff --git a/webkit/browser/blob/blob_storage_context_unittest.cc b/webkit/browser/blob/blob_storage_context_unittest.cc
index ef24bdcb68a430f6d6cab236f2f788c879aeea48..b2a0a6d5b7bd8c5f723e024e1fbbcfd789b3fd08 100644
--- a/webkit/browser/blob/blob_storage_context_unittest.cc
+++ b/webkit/browser/blob/blob_storage_context_unittest.cc
@@ -121,14 +121,14 @@ TEST(BlobStorageContextTest, CompoundBlobs) {
scoped_ptr<BlobDataHandle> blob_data_handle;
// Test a blob referring to only data and a file.
- blob_data_handle = context.AddFinishedBlob(blob_data1);
+ blob_data_handle = context.AddFinishedBlob(blob_data1.get());
ASSERT_TRUE(blob_data_handle.get());
- EXPECT_TRUE(*(blob_data_handle->data()) == *blob_data1);
+ EXPECT_TRUE(*(blob_data_handle->data()) == *blob_data1.get());
// Test a blob composed in part with another blob.
- blob_data_handle = context.AddFinishedBlob(blob_data2);
+ blob_data_handle = context.AddFinishedBlob(blob_data2.get());
ASSERT_TRUE(blob_data_handle.get());
- EXPECT_TRUE(*(blob_data_handle->data()) == *canonicalized_blob_data2);
+ EXPECT_TRUE(*(blob_data_handle->data()) == *canonicalized_blob_data2.get());
}
TEST(BlobStorageContextTest, PublicBlobUrls) {
« no previous file with comments | « webkit/browser/blob/blob_storage_context.cc ('k') | webkit/browser/blob/blob_storage_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698