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

Unified Diff: Source/core/css/resolver/StyleResolver.cpp

Issue 371443003: Merge .in files for css/svg properties into a single file (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cascade
Patch Set: Created 6 years, 5 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: Source/core/css/resolver/StyleResolver.cpp
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
index 904634aac7df8a4664f284cd6c38007a39b3dba4..abc4fbc59d51dd0f404624dbb6b2f6769494f890 100644
--- a/Source/core/css/resolver/StyleResolver.cpp
+++ b/Source/core/css/resolver/StyleResolver.cpp
@@ -706,7 +706,7 @@ PassRefPtr<RenderStyle> StyleResolver::styleForElement(Element* element, RenderS
// FIXME: Consider refactoring to create a new class which owns the following
// first/last/range properties.
-// c.f. //src/third_party/WebKit/Source/core/css/CSSPropertyNames.in.
+// c.f. //src/third_party/WebKit/Source/core/css/CSSProperties.in.
template<> CSSPropertyID StyleResolver::firstCSSPropertyId<StyleResolver::HighPriorityProperties>()
{
@@ -721,8 +721,8 @@ template<> CSSPropertyID StyleResolver::lastCSSPropertyId<StyleResolver::HighPri
template<> CSSPropertyID StyleResolver::firstCSSPropertyId<StyleResolver::LowPriorityProperties>()
{
- COMPILE_ASSERT(CSSPropertyBackground == CSSPropertyZoom + 1, CSS_background_is_first_low_priority_property);
- return CSSPropertyBackground;
+ COMPILE_ASSERT(CSSPropertyWebkitBorderImage == CSSPropertyZoom + 1, CSS_webkit_border_image_is_first_low_priority_property);
+ return CSSPropertyWebkitBorderImage;
}
template<> CSSPropertyID StyleResolver::lastCSSPropertyId<StyleResolver::LowPriorityProperties>()

Powered by Google App Engine
This is Rietveld 408576698