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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 2188093002: cc: Complete swap promise for aborted commit after pending activation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile error 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
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 3d032fcc50bf7998f0b1382491b6891ad30072a0..651a11790ba8aa78279936d9d99381b672c4d18b 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -360,7 +360,9 @@ class CC_EXPORT LayerTreeImpl {
// Take the |new_swap_promise| and append it to |swap_promise_list_|.
brianderson 2016/07/28 18:10:53 Can you update this comment or remove it and rena
sunnyps 2016/08/02 02:55:09 Done. Updated comment.
void PassSwapPromises(
- std::vector<std::unique_ptr<SwapPromise>>* new_swap_promise);
+ std::vector<std::unique_ptr<SwapPromise>> new_swap_promises);
+ void AppendSwapPromises(
+ std::vector<std::unique_ptr<SwapPromise>> new_swap_promises);
void FinishSwapPromises(CompositorFrameMetadata* metadata);
void BreakSwapPromises(SwapPromise::DidNotSwapReason reason);

Powered by Google App Engine
This is Rietveld 408576698