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

Unified Diff: ui/compositor/layer.cc

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved needing to kick a frame logic up to RWHVA from Compositor. Created 8 years, 2 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: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index 880648c110ae191501737021642ca74aead60467..5a21c8ac7714d21e63f9b55839a48525a5de5796 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -447,6 +447,9 @@ void Layer::ScheduleDraw() {
}
void Layer::SendDamagedRects() {
+ if (web_layer_->deferUpdates())
+ return;
+
if ((delegate_ || texture_) && !damaged_region_.isEmpty()) {
for (SkRegion::Iterator iter(damaged_region_);
!iter.done(); iter.next()) {

Powered by Google App Engine
This is Rietveld 408576698