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

Unified Diff: third_party/WebKit/Source/platform/CalculationValue.h

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/platform/CalculationValue.h
diff --git a/third_party/WebKit/Source/platform/CalculationValue.h b/third_party/WebKit/Source/platform/CalculationValue.h
index f678662e4b52f2af3207eab7ed6ab7706ac59911..9ec1c610abba030701f20233d519c403c18b29bf 100644
--- a/third_party/WebKit/Source/platform/CalculationValue.h
+++ b/third_party/WebKit/Source/platform/CalculationValue.h
@@ -53,10 +53,10 @@ public:
}
bool operator==(const CalculationValue& o) const { return pixels() == o.pixels() && percent() == o.percent(); }
bool isNonNegative() const { return m_isNonNegative; }
- ValueRange valueRange() const { return m_isNonNegative ? ValueRangeNonNegative : ValueRangeAll; }
+ ValueRange getValueRange() const { return m_isNonNegative ? ValueRangeNonNegative : ValueRangeAll; }
float pixels() const { return m_value.pixels; }
float percent() const { return m_value.percent; }
- PixelsAndPercent pixelsAndPercent() const { return m_value; }
+ PixelsAndPercent getPixelsAndPercent() const { return m_value; }
private:
CalculationValue(PixelsAndPercent value, ValueRange range)

Powered by Google App Engine
This is Rietveld 408576698