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

Unified Diff: content/browser/renderer_host/clipboard_message_filter_unittest.cc

Issue 2849633002: Get rid of base::SharedMemory::NULLHandle(); (Closed)
Patch Set: Rebase. 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/browser/renderer_host/clipboard_message_filter_unittest.cc
diff --git a/content/browser/renderer_host/clipboard_message_filter_unittest.cc b/content/browser/renderer_host/clipboard_message_filter_unittest.cc
index 4bc506edb269584e9013dfaa936923b999fd53f6..3e01d863c92a6743c6ef266c41421102c9c180e6 100644
--- a/content/browser/renderer_host/clipboard_message_filter_unittest.cc
+++ b/content/browser/renderer_host/clipboard_message_filter_unittest.cc
@@ -123,7 +123,7 @@ TEST_F(ClipboardMessageFilterTest, ImageSizeOverflows32BitRowBytes) {
}
TEST_F(ClipboardMessageFilterTest, InvalidSharedMemoryHandle) {
- CallWriteImageDirectly(gfx::Size(5, 5), base::SharedMemory::NULLHandle());
+ CallWriteImageDirectly(gfx::Size(5, 5), base::SharedMemoryHandle());
uint64_t sequence_number =
clipboard()->GetSequenceNumber(ui::CLIPBOARD_TYPE_COPY_PASTE);
CallCommitWrite();

Powered by Google App Engine
This is Rietveld 408576698