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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSNumericValue.h

Issue 2903413002: Restructure type tracking in StyleValues to work better with new numeric types (Closed)
Patch Set: rebase Created 3 years, 6 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/CSSNumericValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSNumericValue.h b/third_party/WebKit/Source/core/css/cssom/CSSNumericValue.h
index 0a38311db45710affe51b4524f35d756968abd28..55af6539cc6043c826ef56cbf60dbd8ec9d85ec2 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSNumericValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSNumericValue.h
@@ -49,12 +49,7 @@ class CORE_EXPORT CSSNumericValue : public CSSStyleValue {
return nullptr;
}
- // Internal methods.
virtual CSSUnitValue* to(CSSPrimitiveValue::UnitType) { return nullptr; }
- bool ContainsPercent() const {
- // TODO(meade): Implement.
- return false;
- }
protected:
CSSNumericValue() {}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/css/cssom/CSSPerspective.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698