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

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

Issue 2653733005: Added parseShorthand method from the parser to CSSPropertyAPI.h. (Closed)
Patch Set: rebase Created 3 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/properties/CSSPropertyAPI.h
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPI.h b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPI.h
index 66b49c1d847ce8648f210b6f4cb9f3478f68e1eb..0280eb94863d2d3b745c8897518171730a5adf54 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPI.h
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPI.h
@@ -41,6 +41,15 @@ class CSSPropertyAPI {
NOTREACHED();
return nullptr;
}
+
+ static bool parseShorthand(bool,
+ CSSParserTokenRange&,
+ const CSSParserContext*) {
+ // No code should reach here, since properties either have their own
+ // implementations of this method or store nullptr in their descriptor.
+ NOTREACHED();
+ return false;
+ }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698