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

Unified Diff: Source/core/css/CSSValueList.cpp

Issue 470903003: Remove CSSParserValue::createCSSValue and unused callers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pp4
Patch Set: fix forward decl Created 6 years, 4 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 | « Source/core/css/CSSValueList.h ('k') | Source/core/css/parser/CSSParserValues.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSValueList.cpp
diff --git a/Source/core/css/CSSValueList.cpp b/Source/core/css/CSSValueList.cpp
index c11d493abb3c10ed610952eb143fa70afc67603e..4f5b4ffd67c9b9b2047f0daa1bb7fbad922a2bf6 100644
--- a/Source/core/css/CSSValueList.cpp
+++ b/Source/core/css/CSSValueList.cpp
@@ -38,17 +38,6 @@ CSSValueList::CSSValueList(ValueListSeparator listSeparator)
m_valueListSeparator = listSeparator;
}
-CSSValueList::CSSValueList(CSSParserValueList* parserValues)
- : CSSValue(ValueListClass)
-{
- m_valueListSeparator = SpaceSeparator;
- if (parserValues) {
- m_values.reserveInitialCapacity(parserValues->size());
- for (unsigned i = 0; i < parserValues->size(); ++i)
- m_values.uncheckedAppend(parserValues->valueAt(i)->createCSSValue());
- }
-}
-
bool CSSValueList::removeAll(CSSValue* val)
{
bool found = false;
« no previous file with comments | « Source/core/css/CSSValueList.h ('k') | Source/core/css/parser/CSSParserValues.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698