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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 2499783002: Move SaturatedArithmetic from Blink to base (Closed)
Patch Set: Readd files oops Created 4 years, 1 month 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
Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index da917c8ef5f3c6411e2df4fdfb942ec617c86903..b86bea96b368c13fe14d9b8a835b4b5a800d663e 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -2243,7 +2243,7 @@ int ComputedStyle::outlineOutsetExtent() const {
return GraphicsContext::focusRingOutsetExtent(
outlineOffset(), std::ceil(getOutlineStrokeWidthForFocusRing()));
}
- return std::max(0, saturatedAddition(outlineWidth(), outlineOffset()));
+ return std::max(0, SaturatedAddition(outlineWidth(), outlineOffset()));
}
float ComputedStyle::getOutlineStrokeWidthForFocusRing() const {

Powered by Google App Engine
This is Rietveld 408576698