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

Unified Diff: content/child/blob_storage/blob_transport_controller_unittest.cc

Issue 2843113002: make base::SharedMemoryHandle a class on POSIX. (Closed)
Patch Set: Fix test error. Created 3 years, 8 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: content/child/blob_storage/blob_transport_controller_unittest.cc
diff --git a/content/child/blob_storage/blob_transport_controller_unittest.cc b/content/child/blob_storage/blob_transport_controller_unittest.cc
index c016777f0314b702713c14e9e8f824656874055c..82b599c4ab4522345e6bc9dfb98d5c0ec1cbda97 100644
--- a/content/child/blob_storage/blob_transport_controller_unittest.cc
+++ b/content/child/blob_storage/blob_transport_controller_unittest.cc
@@ -300,7 +300,7 @@ TEST_F(BlobTransportControllerTest, SharedMemory) {
memory.CreateAnonymous(11 + 6);
base::SharedMemoryHandle handle =
base::SharedMemory::DuplicateHandle(memory.handle());
- CHECK(base::SharedMemory::NULLHandle() != handle);
+ CHECK(handle.IsValid());
memory_handles.push_back(handle);
OnMemoryRequest(holder, kBlobUUID, requests, &memory_handles, file_handles);

Powered by Google App Engine
This is Rietveld 408576698