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

Unified Diff: Source/core/layout/LayoutProgress.cpp

Issue 952593003: Remove argument to progress bar timing methods on LayoutTheme. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Source/core/layout/LayoutTheme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutProgress.cpp
diff --git a/Source/core/layout/LayoutProgress.cpp b/Source/core/layout/LayoutProgress.cpp
index c602e220d03c67ff9c02881265df3cd8a78649cb..14688bf472ff5c10bb610f5fef7dd23db0a66031 100644
--- a/Source/core/layout/LayoutProgress.cpp
+++ b/Source/core/layout/LayoutProgress.cpp
@@ -85,8 +85,8 @@ void LayoutProgress::animationTimerFired(Timer<LayoutProgress>*)
void LayoutProgress::updateAnimationState()
{
- m_animationDuration = LayoutTheme::theme().animationDurationForProgressBar(this);
- m_animationRepeatInterval = LayoutTheme::theme().animationRepeatIntervalForProgressBar(this);
+ m_animationDuration = LayoutTheme::theme().animationDurationForProgressBar();
+ m_animationRepeatInterval = LayoutTheme::theme().animationRepeatIntervalForProgressBar();
bool animating = style()->hasAppearance() && m_animationDuration > 0;
if (animating == m_animating)
« no previous file with comments | « no previous file | Source/core/layout/LayoutTheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698