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

Unified Diff: blimp/common/blob_cache/in_memory_blob_cache_unittest.cc

Issue 1958823002: Fix implicit access to raw pointer of scoped_refptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Splitting out change to scoped_refptr to follow up patch. Created 4 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 | « base/threading/thread_unittest.cc ('k') | cc/test/fake_video_frame_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/common/blob_cache/in_memory_blob_cache_unittest.cc
diff --git a/blimp/common/blob_cache/in_memory_blob_cache_unittest.cc b/blimp/common/blob_cache/in_memory_blob_cache_unittest.cc
index 828c395a9ce207e846e86bc3ffb86f19647aa58a..6eb98ff6c4aa39387418505dde296dedbe9f8822 100644
--- a/blimp/common/blob_cache/in_memory_blob_cache_unittest.cc
+++ b/blimp/common/blob_cache/in_memory_blob_cache_unittest.cc
@@ -36,7 +36,7 @@ class InMemoryBlobCacheTest : public testing::Test {
TEST_F(InMemoryBlobCacheTest, SimplePutContainsAndGetOperations) {
EXPECT_FALSE(cache_.Contains(kFoo));
- EXPECT_EQ(nullptr, cache_.Get(kFoo));
+ EXPECT_FALSE(cache_.Get(kFoo));
BlobDataPtr blob_data = CreateBlobDataPtr(kDeadbeef);
cache_.Put(kFoo, blob_data);
« no previous file with comments | « base/threading/thread_unittest.cc ('k') | cc/test/fake_video_frame_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698