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

Unified Diff: cc/trees/swap_promise_manager_unittest.cc

Issue 2580493002: Splitting DidSwap in cc::SwapPromise into WillSwap and DidSwap (Closed)
Patch Set: x Created 4 years 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/trees/layer_tree_impl_unittest.cc ('k') | content/renderer/gpu/queue_message_swap_promise.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/swap_promise_manager_unittest.cc
diff --git a/cc/trees/swap_promise_manager_unittest.cc b/cc/trees/swap_promise_manager_unittest.cc
index 9ae203702215b5aee857d8fa3045b050dce01eec..5ebd53a229698324f71836de3622a46ecd1a9752 100644
--- a/cc/trees/swap_promise_manager_unittest.cc
+++ b/cc/trees/swap_promise_manager_unittest.cc
@@ -31,7 +31,8 @@ class MockSwapPromise : public SwapPromise {
~MockSwapPromise() override {}
void DidActivate() override {}
- void DidSwap(CompositorFrameMetadata* metadata) override {}
+ void WillSwap(CompositorFrameMetadata* metadata) override {}
+ void DidSwap() override {}
DidNotSwapAction DidNotSwap(DidNotSwapReason reason) override {
return DidNotSwapAction::BREAK_PROMISE;
}
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | content/renderer/gpu/queue_message_swap_promise.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698