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

Unified Diff: webkit/common/blob/shareable_file_reference_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/common/blob/scoped_file.cc ('k') | webkit/common/gpu/test_context_provider_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/blob/shareable_file_reference_unittest.cc
diff --git a/webkit/common/blob/shareable_file_reference_unittest.cc b/webkit/common/blob/shareable_file_reference_unittest.cc
index df81e007e45b662aebb6f251e4009a39075528d8..3ee2cd81b8d63f129d1f36e7e2c85041fdea88ce 100644
--- a/webkit/common/blob/shareable_file_reference_unittest.cc
+++ b/webkit/common/blob/shareable_file_reference_unittest.cc
@@ -29,7 +29,7 @@ TEST(ShareableFileReferenceTest, TestReferences) {
reference1 = ShareableFileReference::Get(file);
EXPECT_FALSE(reference1.get());
reference1 = ShareableFileReference::GetOrCreate(
- file, ShareableFileReference::DELETE_ON_FINAL_RELEASE, loop_proxy);
+ file, ShareableFileReference::DELETE_ON_FINAL_RELEASE, loop_proxy.get());
EXPECT_TRUE(reference1.get());
EXPECT_TRUE(file == reference1->path());
@@ -38,7 +38,7 @@ TEST(ShareableFileReferenceTest, TestReferences) {
reference2 = ShareableFileReference::Get(file);
EXPECT_EQ(reference1.get(), reference2.get());
reference2 = ShareableFileReference::GetOrCreate(
- file, ShareableFileReference::DELETE_ON_FINAL_RELEASE, loop_proxy);
+ file, ShareableFileReference::DELETE_ON_FINAL_RELEASE, loop_proxy.get());
EXPECT_EQ(reference1.get(), reference2.get());
// Drop the first reference, the file and reference should still be there.
« no previous file with comments | « webkit/common/blob/scoped_file.cc ('k') | webkit/common/gpu/test_context_provider_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698