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

Side by Side Diff: third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp

Issue 2813863003: Rewrite references to "wtf/" to "platform/wtf/" in core/css and core/style. (Closed)
Patch Set: Rebase. Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/css/cssom/CSSUnparsedValue.h" 5 #include "core/css/cssom/CSSUnparsedValue.h"
6 6
7 #include "core/css/cssom/CSSStyleVariableReferenceValue.h" 7 #include "core/css/cssom/CSSStyleVariableReferenceValue.h"
8 #include "core/css/parser/CSSTokenizer.h" 8 #include "core/css/parser/CSSTokenizer.h"
9 #include "wtf/text/StringBuilder.h" 9 #include "platform/wtf/text/StringBuilder.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 namespace { 13 namespace {
14 14
15 StringView FindVariableName(CSSParserTokenRange& range) { 15 StringView FindVariableName(CSSParserTokenRange& range) {
16 range.ConsumeWhitespace(); 16 range.ConsumeWhitespace();
17 return range.Consume().Value(); 17 return range.Consume().Value();
18 } 18 }
19 19
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } 86 }
87 } 87 }
88 88
89 CSSTokenizer tokenizer(tokens.ToString()); 89 CSSTokenizer tokenizer(tokens.ToString());
90 return CSSVariableReferenceValue::Create(CSSVariableData::Create( 90 return CSSVariableReferenceValue::Create(CSSVariableData::Create(
91 tokenizer.TokenRange(), false /* isAnimationTainted */, 91 tokenizer.TokenRange(), false /* isAnimationTainted */,
92 true /* needsVariableResolution */)); 92 true /* needsVariableResolution */));
93 } 93 }
94 94
95 } // namespace blink 95 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698