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

Unified Diff: Source/core/css/CSSFunctionValue.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/CSSFunctionValue.h ('k') | Source/core/css/CSSValueList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSFunctionValue.cpp
diff --git a/Source/core/css/CSSFunctionValue.cpp b/Source/core/css/CSSFunctionValue.cpp
index 9dde2e72e075be872eee9e79dae4366e6ca1d9df..2c30f7e0a784510f91a31e1007777f6ba1a6d9de 100644
--- a/Source/core/css/CSSFunctionValue.cpp
+++ b/Source/core/css/CSSFunctionValue.cpp
@@ -27,19 +27,10 @@
#include "core/css/CSSFunctionValue.h"
#include "core/css/CSSValueList.h"
-#include "core/css/parser/CSSParserValues.h"
#include "wtf/text/StringBuilder.h"
namespace blink {
-CSSFunctionValue::CSSFunctionValue(CSSParserFunction* function)
- : CSSValue(FunctionClass)
- , m_name(function->name)
-{
- if (function->args)
- m_args = CSSValueList::createFromParserValueList(function->args.get());
-}
-
CSSFunctionValue::CSSFunctionValue(String name, PassRefPtrWillBeRawPtr<CSSValueList> args)
: CSSValue(FunctionClass)
, m_name(name)
« no previous file with comments | « Source/core/css/CSSFunctionValue.h ('k') | Source/core/css/CSSValueList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698