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

Unified Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp

Issue 1746283002: Rename enums/functions that collide in chromium style in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-13-platform: . Created 4 years, 10 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
Index: third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
index 3c6eaf0a816453f78474467cbde0a3db5eb85759..325d1d412c9edd713fa40a05e9940d65cb24826c 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
@@ -258,11 +258,11 @@ CSSPrimitiveValue::CSSPrimitiveValue(const Length& length, float zoom)
m_value.num = length.value() / zoom;
break;
case Calculated: {
- const CalculationValue& calc = length.calculationValue();
+ const CalculationValue& calc = length.getCalculationValue();
if (calc.pixels() && calc.percent()) {
init(CSSCalcValue::create(
CSSCalcValue::createExpressionNode(calc.pixels() / zoom, calc.percent()),
- calc.valueRange()));
+ calc.getValueRange()));
break;
}
if (calc.percent()) {

Powered by Google App Engine
This is Rietveld 408576698