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

Unified Diff: Source/core/rendering/RenderThemeChromiumSkia.cpp

Issue 47023014: Remove unused variables so -Werror can be enabled on Linux with clang. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@origin-master
Patch Set: Created 7 years, 2 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/platform/ScrollAnimatorNone.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderThemeChromiumSkia.cpp
diff --git a/Source/core/rendering/RenderThemeChromiumSkia.cpp b/Source/core/rendering/RenderThemeChromiumSkia.cpp
index 246bd97b8186a3d886170f283e50ec3085b075ed..159785a828052471c3925d3a31b20bd12868e30f 100644
--- a/Source/core/rendering/RenderThemeChromiumSkia.cpp
+++ b/Source/core/rendering/RenderThemeChromiumSkia.cpp
@@ -425,9 +425,8 @@ bool RenderThemeChromiumSkia::shouldShowPlaceholderWhenFocused() const
//
// Following values are come from default of GTK+
//
-static const int progressDeltaPixelsPerSecond = 100;
static const int progressActivityBlocks = 5;
-static const int progressAnimationFrmaes = 10;
+static const int progressAnimationFrames = 10;
static const double progressAnimationInterval = 0.125;
IntRect RenderThemeChromiumSkia::determinateProgressValueRectFor(RenderProgress* renderProgress, const IntRect& rect) const
@@ -457,7 +456,7 @@ double RenderThemeChromiumSkia::animationRepeatIntervalForProgressBar(RenderProg
double RenderThemeChromiumSkia::animationDurationForProgressBar(RenderProgress* renderProgress) const
{
- return progressAnimationInterval * progressAnimationFrmaes * 2; // "2" for back and forth
+ return progressAnimationInterval * progressAnimationFrames * 2; // "2" for back and forth
}
IntRect RenderThemeChromiumSkia::progressValueRectFor(RenderProgress* renderProgress, const IntRect& rect) const
« no previous file with comments | « Source/core/platform/ScrollAnimatorNone.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698