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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h

Issue 2670433002: Makes descriptors hold nullptr for properties not implemented in API. (Closed)
Patch Set: Neatened up code Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/core/css/properties/CSSPropertyAPI.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h b/third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h
index d5cb6bd8fe52768b16808dd36ce71ff57c25054e..54b84d7e41807664c6fcfee95d4b0afbabeac109 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyDescriptor.h
@@ -15,13 +15,6 @@ struct CSSPropertyDescriptor {
const CSSValue* (*parseSingleValue)(CSSParserTokenRange&,
const CSSParserContext*);
- // Stores whether or not this descriptor is for a valid property. Do not
- // access the contents of this descriptor unless this value is true.
- // TODO(aazzam): Remove this once the switch in
- // CSSPropertyParser::parseSingleValue() has been completely replaced by
- // CSSPropertyDescriptors.
- bool temporaryCanReadValue;
-
// Returns the corresponding CSSPropertyDescriptor for a given CSSPropertyID.
// Use this function to access the API for a property. Returns a descriptor
// with isValid set to false if no descriptor exists for this ID.
« no previous file with comments | « third_party/WebKit/Source/core/css/properties/CSSPropertyAPI.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698