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

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

Issue 2499783002: Move SaturatedArithmetic from Blink to base (Closed)
Patch Set: Revert flag addition 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
« no previous file with comments | « base/numerics/saturated_arithmetic_unittest.cc ('k') | third_party/WebKit/Source/platform/LayoutUnit.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8fc3dab289d1b4d853272aba7112c80f3d00a38b..05455843e851102b73ee49eb21607aa1a42511f6 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -2244,7 +2244,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 {
« no previous file with comments | « base/numerics/saturated_arithmetic_unittest.cc ('k') | third_party/WebKit/Source/platform/LayoutUnit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698