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

Unified Diff: Source/core/rendering/style/CounterDirectives.h

Issue 641643004: Reapply the non-MathExtras parts of (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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/rendering/shapes/RasterShape.cpp ('k') | Source/platform/LayoutUnit.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/CounterDirectives.h
diff --git a/Source/core/rendering/style/CounterDirectives.h b/Source/core/rendering/style/CounterDirectives.h
index fb29f85d7812109478b06a0016a9cbb25741b620..eb4347f481ae6a0954a94b9f23054a717455eee6 100644
--- a/Source/core/rendering/style/CounterDirectives.h
+++ b/Source/core/rendering/style/CounterDirectives.h
@@ -68,7 +68,7 @@ public:
int incrementValue() const { return m_incrementValue; }
void addIncrementValue(int value)
{
- m_incrementValue = clampToInteger((double)m_incrementValue + value);
+ m_incrementValue = clampTo<int>((double)m_incrementValue + value);
m_isIncrementSet = true;
}
void clearIncrement()
« no previous file with comments | « Source/core/rendering/shapes/RasterShape.cpp ('k') | Source/platform/LayoutUnit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698