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

Unified Diff: cc/layers/surface_layer.cc

Issue 2185823005: Make RenderViewImpl::OnForceRedraw more robust (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation again Created 4 years, 4 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 | « no previous file | cc/output/latency_info_swap_promise.h » ('j') | 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 5dbc7a2f8f72596a4bc802a014fe4befaefde9da..989f90cb9b0c7038b26499e1d8deea12a6330d24 100644
--- a/cc/layers/surface_layer.cc
+++ b/cc/layers/surface_layer.cc
@@ -28,8 +28,9 @@ class SatisfySwapPromise : public SwapPromise {
metadata->satisfies_sequences.push_back(sequence_.sequence);
}
- void DidNotSwap(DidNotSwapReason reason) override {
+ DidNotSwapAction DidNotSwap(DidNotSwapReason reason) override {
satisfy_callback_.Run(sequence_);
+ return DidNotSwapAction::BREAK_PROMISE;
}
int64_t TraceId() const override { return 0; }
« no previous file with comments | « no previous file | cc/output/latency_info_swap_promise.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698