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

Unified Diff: content/renderer/render_widget.cc

Issue 7982015: Remove old WEBWIDGET_HAS_ANIMATE_CHANGES ifdefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index 7b2f48a79374a43eac861a774551293f251a451c..bdd2f306b85887edecfcbd3b4c3d0c710337fd83 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -636,11 +636,7 @@ void RenderWidget::AnimateIfNeeded() {
this, &RenderWidget::AnimationCallback), animationInterval);
animation_task_posted_ = true;
animation_update_pending_ = false;
-#ifdef WEBWIDGET_HAS_ANIMATE_CHANGES
webwidget_->animate(0.0);
-#else
- webwidget_->animate();
-#endif
return;
}
TRACE_EVENT0("renderer", "EarlyOut_AnimatedTooRecently");
« no previous file with comments | « no previous file | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698