Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index d1cfcca2c172fce980faaf6ef970b8c9673f2159..01d7e40887e2b5ac50b951ff9636b6d7d3c497cd 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -203,9 +203,10 @@ class CopyRequestSwapPromise : public cc::SwapPromise { |
void DidSwap(cc::CompositorFrameMetadata*) override { |
output_surface_from_commit_->RequestCopyOfOutput(std::move(copy_request_)); |
} |
- void DidNotSwap(DidNotSwapReason r) override { |
+ DidNotSwapAction DidNotSwap(DidNotSwapReason r) override { |
// The compositor should always swap in layout test mode. |
NOTREACHED() << "did not swap for reason " << r; |
+ return DidNotSwapAction::BREAK_PROMISE; |
} |
int64_t TraceId() const override { return 0; } |