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

Unified Diff: cc/layers/surface_layer.cc

Issue 2537943002: Getting rid of CompositorFrameMetadata::satisfies_sequences (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/surface_layer.cc
diff --git a/cc/layers/surface_layer.cc b/cc/layers/surface_layer.cc
index 0f8bd3380be1aa873bf5ed197dcafabad45a9c51..dbb9763b6f91b47ffa460bd7430a7f5f71b76f38 100644
--- a/cc/layers/surface_layer.cc
+++ b/cc/layers/surface_layer.cc
@@ -27,7 +27,7 @@ class SatisfySwapPromise : public SwapPromise {
private:
void DidActivate() override {}
void DidSwap(CompositorFrameMetadata* metadata) override {
- metadata->satisfies_sequences.push_back(sequence_.sequence);
+ satisfy_callback_.Run(sequence_);
Fady Samuel 2016/11/30 15:35:28 I think this runs on the compositor thread whereas
}
DidNotSwapAction DidNotSwap(DidNotSwapReason reason) override {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698