Index: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
index 8ff887796f48521c80c2a77c0fdf1c0781e049c6..d5f82f71f2b0b9497f4e4822a417619350b43478 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
@@ -220,12 +220,6 @@ class CORE_EXPORT ComputedStyleBase { |
DataRef<{{subgroup.type_name}}> {{subgroup.member_name}}; |
{% endfor %} |
- static unsigned WidthToFixedPoint(float width) { |
- DCHECK_GE(width, 0); |
- return static_cast<unsigned>(std::min<float>(width, kMaxForBorderWidth) * |
- kBorderWidthDenominator); |
- } |
- |
private: |
{% for field in computed_style.fields %} |
{{declare_storage(field)}} |