Chromium Code Reviews| Index: cc/surfaces/display.cc |
| diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc |
| index fe278fc08fa7e4a1fbfe3099196cbc2f918ef048..c23199b4aec0e3325f90827157bc4dd6b401c65a 100644 |
| --- a/cc/surfaces/display.cc |
| +++ b/cc/surfaces/display.cc |
| @@ -276,6 +276,10 @@ void Display::OnDraw() { |
| NOTREACHED(); |
| } |
| +void Display::ForceSwap() { |
| + aggregator_->SetFullDamageForSurface(current_surface_id_); |
|
jbauman
2015/09/10 19:29:50
This won't actually force a swap immediately, it j
dnicoara
2015/09/10 19:39:39
Done.
|
| +} |
| + |
| void Display::SetNeedsRedrawRect(const gfx::Rect& damage_rect) { |
| NOTREACHED(); |
| } |