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

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 comments and add tests 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
Index: cc/layers/surface_layer.cc
diff --git a/cc/layers/surface_layer.cc b/cc/layers/surface_layer.cc
index 5dbc7a2f8f72596a4bc802a014fe4befaefde9da..21ee2bd029c003041cc840fa8a355de45e747236 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::DEFAULT_ACTION;
}
int64_t TraceId() const override { return 0; }

Powered by Google App Engine
This is Rietveld 408576698