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

Unified Diff: components/exo/surface.cc

Issue 2565973002: exo: Fix handling of pending damage. (Closed)
Patch Set: Created 4 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/surface.cc
diff --git a/components/exo/surface.cc b/components/exo/surface.cc
index 2c23fc3b970315845e196b8bd4f84ae73ddfbd5b..f295aaa46096e5edef0e3a5c9121a23820f4fdb3 100644
--- a/components/exo/surface.cc
+++ b/components/exo/surface.cc
@@ -408,7 +408,7 @@ void Surface::CommitSurfaceHierarchy() {
local_frame_id_ = id_allocator_.GenerateId();
}
- UpdateSurface(true);
+ UpdateSurface(false);
if (old_local_frame_id != local_frame_id_) {
float contents_surface_to_layer_scale = 1.0;
@@ -553,7 +553,7 @@ void Surface::OnLostResources() {
return;
UpdateResource(false);
- UpdateSurface(false);
+ UpdateSurface(true);
}
void Surface::OnWindowAddedToRootWindow(aura::Window* window) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698