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

Unified Diff: storage/browser/blob/blob_storage_context.cc

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: storage/browser/blob/blob_storage_context.cc
diff --git a/storage/browser/blob/blob_storage_context.cc b/storage/browser/blob/blob_storage_context.cc
index e8fc0085cdf19852b6a8d4376051f4e96cd41ff6..6df7afdba9a7ccb65a487dbd70f6ba691f0bab25 100644
--- a/storage/browser/blob/blob_storage_context.cc
+++ b/storage/browser/blob/blob_storage_context.cc
@@ -60,7 +60,7 @@ BlobStorageContext::BlobMapEntry::~BlobMapEntry() {
}
bool BlobStorageContext::BlobMapEntry::IsBeingBuilt() {
- return data_builder;
+ return !!data_builder;
}
BlobStorageContext::BlobStorageContext() : memory_usage_(0) {

Powered by Google App Engine
This is Rietveld 408576698