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

Unified Diff: cc/test/test_context_support.cc

Issue 640023004: cc: Make OutputSurface::SwapBuffers pure virtual (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@latinfo
Patch Set: rebase, comment, removed unused includes Created 6 years, 2 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
« no previous file with comments | « cc/test/test_context_support.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_context_support.cc
diff --git a/cc/test/test_context_support.cc b/cc/test/test_context_support.cc
index 88127d582d49fe3e6bc9343a7cee8ce6db9dfd62..f74f69253f2311c5f00bfd29b9a0dd8b876209aa 100644
--- a/cc/test/test_context_support.cc
+++ b/cc/test/test_context_support.cc
@@ -10,8 +10,7 @@
namespace cc {
TestContextSupport::TestContextSupport()
- : last_swap_type_(NO_SWAP),
- weak_ptr_factory_(this) {
+ : weak_ptr_factory_(this) {
}
TestContextSupport::~TestContextSupport() {}
@@ -59,7 +58,6 @@ void TestContextSupport::SetScheduleOverlayPlaneCallback(
}
void TestContextSupport::Swap() {
- last_swap_type_ = SWAP;
}
uint32 TestContextSupport::InsertFutureSyncPointCHROMIUM() {
@@ -72,8 +70,6 @@ void TestContextSupport::RetireSyncPointCHROMIUM(uint32 sync_point) {
}
void TestContextSupport::PartialSwapBuffers(const gfx::Rect& sub_buffer) {
- last_swap_type_ = PARTIAL_SWAP;
- last_partial_swap_rect_ = sub_buffer;
}
void TestContextSupport::ScheduleOverlayPlane(
« no previous file with comments | « cc/test/test_context_support.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698