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

Side by Side Diff: cc/surfaces/display_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/surfaces/display.h" 5 #include "cc/surfaces/display.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h"
9 #include "base/test/null_task_runner.h" 10 #include "base/test/null_task_runner.h"
10 #include "cc/output/compositor_frame.h" 11 #include "cc/output/compositor_frame.h"
11 #include "cc/output/copy_output_result.h" 12 #include "cc/output/copy_output_result.h"
12 #include "cc/output/texture_mailbox_deleter.h" 13 #include "cc/output/texture_mailbox_deleter.h"
13 #include "cc/quads/render_pass.h" 14 #include "cc/quads/render_pass.h"
14 #include "cc/resources/shared_bitmap_manager.h" 15 #include "cc/resources/shared_bitmap_manager.h"
15 #include "cc/scheduler/begin_frame_source.h" 16 #include "cc/scheduler/begin_frame_source.h"
16 #include "cc/surfaces/display_client.h" 17 #include "cc/surfaces/display_client.h"
17 #include "cc/surfaces/display_scheduler.h" 18 #include "cc/surfaces/display_scheduler.h"
18 #include "cc/surfaces/frame_sink_id.h" 19 #include "cc/surfaces/frame_sink_id.h"
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 // Verify DidLoseOutputSurface callback is hooked up correctly. 507 // Verify DidLoseOutputSurface callback is hooked up correctly.
507 EXPECT_EQ(0, client.loss_count()); 508 EXPECT_EQ(0, client.loss_count());
508 output_surface_->context_provider()->ContextGL()->LoseContextCHROMIUM( 509 output_surface_->context_provider()->ContextGL()->LoseContextCHROMIUM(
509 GL_GUILTY_CONTEXT_RESET_ARB, GL_INNOCENT_CONTEXT_RESET_ARB); 510 GL_GUILTY_CONTEXT_RESET_ARB, GL_INNOCENT_CONTEXT_RESET_ARB);
510 output_surface_->context_provider()->ContextGL()->Flush(); 511 output_surface_->context_provider()->ContextGL()->Flush();
511 EXPECT_EQ(1, client.loss_count()); 512 EXPECT_EQ(1, client.loss_count());
512 } 513 }
513 514
514 } // namespace 515 } // namespace
515 } // namespace cc 516 } // namespace cc
OLDNEW
« no previous file with comments | « cc/surfaces/direct_compositor_frame_sink_unittest.cc ('k') | cc/surfaces/sequence_surface_reference_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698