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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura_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/render_widget_host_view_aura_unittest.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc b/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
index aea4d89025e6b06fc57be800cfeceb2ba60a7039..c47873eb96085c5ef28c2086f5b467e6bb0f0888 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
@@ -2869,8 +2869,8 @@ TEST_F(RenderWidgetHostViewAuraTest, DiscardDelegatedFrames) {
display_compositor::HostSharedBitmapManager::current());
for (size_t i = 0; i < (renderer_count - 1) * handles_per_frame; i++) {
- bitmap_client.ChildAllocatedSharedBitmap(
- 1, base::SharedMemory::NULLHandle(), cc::SharedBitmap::GenerateId());
+ bitmap_client.ChildAllocatedSharedBitmap(1, base::SharedMemoryHandle(),
+ cc::SharedBitmap::GenerateId());
}
// Hiding this last bitmap should evict all but two frames.
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/renderer/media/audio_message_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698