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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp

Issue 2945173003: Inline CSSParserToken::CSSParserToken (Closed)
Patch Set: fix compile error Created 3 years, 6 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 | « third_party/WebKit/Source/core/css/parser/CSSParserToken.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp
index c61f1987095e8e1ee2ac6de8fe0002fcbb223611..2129e33c458118f8831fce205ab1cb1f8a131cb2 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp
@@ -13,23 +13,12 @@
namespace blink {
-CSSParserToken::CSSParserToken(CSSParserTokenType type, BlockType block_type)
- : type_(type), block_type_(block_type) {}
-
// Just a helper used for Delimiter tokens.
CSSParserToken::CSSParserToken(CSSParserTokenType type, UChar c)
: type_(type), block_type_(kNotBlock), delimiter_(c) {
DCHECK_EQ(type_, static_cast<unsigned>(kDelimiterToken));
}
-CSSParserToken::CSSParserToken(CSSParserTokenType type,
- StringView value,
- BlockType block_type)
- : type_(type), block_type_(block_type) {
- InitValueFromStringView(value);
- id_ = -1;
-}
-
CSSParserToken::CSSParserToken(CSSParserTokenType type,
double numeric_value,
NumericValueType numeric_value_type,
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParserToken.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698