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

Unified Diff: Source/core/layout/LayoutThemeDefault.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 | « Source/core/layout/LayoutThemeDefault.h ('k') | Source/core/layout/LayoutThemeMac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutThemeDefault.cpp
diff --git a/Source/core/layout/LayoutThemeDefault.cpp b/Source/core/layout/LayoutThemeDefault.cpp
index 2d43d1bb780ecfdc2cf7158a019757517ec4c8fb..d8d8f25d5f6b9d6c85c6791c6b4565da1f370c78 100644
--- a/Source/core/layout/LayoutThemeDefault.cpp
+++ b/Source/core/layout/LayoutThemeDefault.cpp
@@ -835,12 +835,12 @@ IntRect LayoutThemeDefault::indeterminateProgressValueRectFor(LayoutProgress* re
return IntRect(rect.x() + (1.0 - progress) * 2 * movableWidth, rect.y(), valueWidth, rect.height());
}
-double LayoutThemeDefault::animationRepeatIntervalForProgressBar(LayoutProgress*) const
+double LayoutThemeDefault::animationRepeatIntervalForProgressBar() const
{
return progressAnimationInterval;
}
-double LayoutThemeDefault::animationDurationForProgressBar(LayoutProgress* renderProgress) const
+double LayoutThemeDefault::animationDurationForProgressBar() const
{
return progressAnimationInterval * progressAnimationFrames * 2; // "2" for back and forth
}
« no previous file with comments | « Source/core/layout/LayoutThemeDefault.h ('k') | Source/core/layout/LayoutThemeMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698