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

Unified Diff: chrome/renderer/render_widget.h

Issue 6409007: Calculate animation_floor_time_ only when actually updating animations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add a NULL check for webwidget_ (thanks to apatrick) Created 9 years, 11 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 | chrome/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_widget.h
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h
index a76623f2a2da83e9183d63fa21a186c7e0a5c5ac..f1301901cf78bef0491fe4d2bf8bc355f7c6c765 100644
--- a/chrome/renderer/render_widget.h
+++ b/chrome/renderer/render_widget.h
@@ -161,6 +161,7 @@ class RenderWidget : public IPC::Channel::Listener,
void CallDoDeferredUpdate();
void UpdateAnimationsIfNeeded();
+ void UpdateAnimationsAndFloorTime();
void DoDeferredUpdate();
void DoDeferredClose();
void DoDeferredSetWindowRect(const WebKit::WebRect& pos);
@@ -372,6 +373,7 @@ class RenderWidget : public IPC::Channel::Listener,
base::Time animation_floor_time_;
bool animation_update_pending_;
+ bool animation_waiting_for_paint_;
DISALLOW_COPY_AND_ASSIGN(RenderWidget);
};
« no previous file with comments | « no previous file | chrome/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698