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

Unified Diff: ui/aura/desktop_host_linux.cc

Issue 8815004: Aura: delay draw on Expose to avoid getting behind (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« ui/aura/desktop.h ('K') | « ui/aura/desktop.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/desktop_host_linux.cc
diff --git a/ui/aura/desktop_host_linux.cc b/ui/aura/desktop_host_linux.cc
index 6025de5a7e1bc84eb8ed114a8fabe0d5e7457be6..03b02db834f6d013873d032d9be74b6a046e6f98 100644
--- a/ui/aura/desktop_host_linux.cc
+++ b/ui/aura/desktop_host_linux.cc
@@ -366,7 +366,7 @@ base::MessagePumpDispatcher::DispatchStatus DesktopHostLinux::Dispatch(
switch (xev->type) {
case Expose:
- desktop_->Draw();
+ desktop_->ScheduleDraw();
handled = true;
break;
case KeyPress: {
« ui/aura/desktop.h ('K') | « ui/aura/desktop.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698