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

Unified Diff: Source/core/scripts/templates/StylePropertyShorthand.cpp.tmpl

Issue 23903041: Make the Vector copy constructor for mismatched inline sizes explicit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/scripts/templates/StylePropertyShorthand.cpp.tmpl
diff --git a/Source/core/scripts/templates/StylePropertyShorthand.cpp.tmpl b/Source/core/scripts/templates/StylePropertyShorthand.cpp.tmpl
index a491e03c0ad856c194d92b4328bffc89e886faa8..9321df04263ffa282274dd948b3ac05149688593 100644
--- a/Source/core/scripts/templates/StylePropertyShorthand.cpp.tmpl
+++ b/Source/core/scripts/templates/StylePropertyShorthand.cpp.tmpl
@@ -74,7 +74,7 @@ const Vector<StylePropertyShorthand> matchingShorthandsForLonghand(CSSPropertyID
{% for shorthand in shorthands -%}
{{ longhand_id }}Shorthands.uncheckedAppend({{ shorthand.camel_case_name }}Shorthand());
{% endfor -%}
- map.set({{ longhand_id }}, {{ longhand_id }}Shorthands);
+ map.set({{ longhand_id }}, Vector<StylePropertyShorthand>({{ longhand_id }}Shorthands));
{%- endfor %}
}
return map.get(propertyID);

Powered by Google App Engine
This is Rietveld 408576698