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

Unified Diff: Source/core/css/CSSParser-in.cpp

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
« no previous file with comments | « no previous file | Source/core/css/CSSValueList.cpp » ('j') | Source/core/css/CSSValueList.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSParser-in.cpp
diff --git a/Source/core/css/CSSParser-in.cpp b/Source/core/css/CSSParser-in.cpp
index 873c3471a8f9cd410d435620101cc53e3869a61f..b7ba9cf28e155897035c5939d502c6a246cb1c03 100644
--- a/Source/core/css/CSSParser-in.cpp
+++ b/Source/core/css/CSSParser-in.cpp
@@ -1228,7 +1228,7 @@ bool CSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID p
deleteFontFaceOnlyValues();
if (!m_parsedProperties.isEmpty()) {
ok = true;
- declaration->addParsedProperties(m_parsedProperties);
+ declaration->addParsedProperties(Vector<CSSProperty>(m_parsedProperties));
clearProperties();
}
@@ -1341,7 +1341,7 @@ bool CSSParser::parseDeclaration(MutableStylePropertySet* declaration, const Str
deleteFontFaceOnlyValues();
if (!m_parsedProperties.isEmpty()) {
ok = true;
- declaration->addParsedProperties(m_parsedProperties);
+ declaration->addParsedProperties(Vector<CSSProperty>(m_parsedProperties));
clearProperties();
}
« no previous file with comments | « no previous file | Source/core/css/CSSValueList.cpp » ('j') | Source/core/css/CSSValueList.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698