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

Unified Diff: cc/test/layer_tree_test.cc

Issue 2151433004: cc: Make LayerTreeHostImpl::SwapBuffers not virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@removedidswap
Patch Set: novirtualswapbuffers: num_draws_ Created 4 years, 5 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/fake_output_surface.cc ('k') | cc/test/test_hooks.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 5666e12c84182855e52930111ea1e754b673cec3..c72d1f283d1a0299057328f1c9787dc075742244 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -242,15 +242,9 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
test_hooks_->DrawLayersOnThread(this);
}
- bool SwapBuffers(const LayerTreeHostImpl::FrameData& frame) override {
- bool result = LayerTreeHostImpl::SwapBuffers(frame);
- test_hooks_->SwapBuffersOnThread(this, result);
- return result;
- }
-
void DidSwapBuffersComplete() override {
LayerTreeHostImpl::DidSwapBuffersComplete();
- test_hooks_->SwapBuffersCompleteOnThread(this);
+ test_hooks_->SwapBuffersCompleteOnThread();
}
void ReclaimResources(const CompositorFrameAck* ack) override {
« no previous file with comments | « cc/test/fake_output_surface.cc ('k') | cc/test/test_hooks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698