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

Unified Diff: cc/surfaces/display.cc

Issue 1370233003: Disable region copy on ARM since it isn't supported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2454
Patch Set: Created 5 years, 3 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 | content/browser/compositor/buffer_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.cc
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index 37a9756950c1bdb5efb139483c91d85967512629..3dc358c55d6be68ee0101f983a6eedd1505c4082 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -250,7 +250,9 @@ void Display::OnDraw() {
}
void Display::SetNeedsRedrawRect(const gfx::Rect& damage_rect) {
- NOTREACHED();
+ aggregator_->SetFullDamageForSurface(current_surface_id_);
+ if (scheduler_)
+ scheduler_->SurfaceDamaged(current_surface_id_);
}
void Display::ReclaimResources(const CompositorFrameAck* ack) {
« no previous file with comments | « no previous file | content/browser/compositor/buffer_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698