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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSUnitValue.cpp

Issue 2919943002: [CSS Typed OM] Rename CSSUnitValue's cssType method to just "type". (Closed)
Patch Set: Created 3 years, 7 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/cssom/CSSUnitValue.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSUnitValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSUnitValue.cpp
index 256f86a70f540eb03ead8a4548d95d21dc8bffca..4d505803286a671f998cb7fdd900345747bbf109 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSUnitValue.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSUnitValue.cpp
@@ -75,7 +75,7 @@ String CSSUnitValue::unit() const {
return CSSPrimitiveValue::UnitTypeToString(unit_);
}
-String CSSUnitValue::cssType() const {
+String CSSUnitValue::type() const {
if (unit_ == CSSPrimitiveValue::UnitType::kNumber)
return "number";
if (unit_ == CSSPrimitiveValue::UnitType::kPercentage)
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSUnitValue.h ('k') | third_party/WebKit/Source/core/css/cssom/CSSUnitValue.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698