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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSURIValue.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/CSSURIValue.h" 5 #include "core/css/CSSURIValue.h"
6 6
7 #include "core/css/CSSMarkup.h" 7 #include "core/css/CSSMarkup.h"
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/svg/SVGElementProxy.h" 9 #include "core/svg/SVGElementProxy.h"
10 #include "platform/weborigin/KURL.h" 10 #include "platform/weborigin/KURL.h"
11 #include "wtf/text/WTFString.h" 11 #include "platform/wtf/text/WTFString.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 CSSURIValue::CSSURIValue(const AtomicString& relative_url, 15 CSSURIValue::CSSURIValue(const AtomicString& relative_url,
16 const AtomicString& absolute_url) 16 const AtomicString& absolute_url)
17 : CSSValue(kURIClass), 17 : CSSValue(kURIClass),
18 relative_url_(relative_url), 18 relative_url_(relative_url),
19 is_local_(relative_url.StartsWith('#')), 19 is_local_(relative_url.StartsWith('#')),
20 absolute_url_(absolute_url) {} 20 absolute_url_(absolute_url) {}
21 21
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 return (is_local_ && relative_url_ == other.relative_url_) || 73 return (is_local_ && relative_url_ == other.relative_url_) ||
74 absolute_url_ == other.absolute_url_; 74 absolute_url_ == other.absolute_url_;
75 } 75 }
76 76
77 DEFINE_TRACE_AFTER_DISPATCH(CSSURIValue) { 77 DEFINE_TRACE_AFTER_DISPATCH(CSSURIValue) {
78 visitor->Trace(proxy_); 78 visitor->Trace(proxy_);
79 CSSValue::TraceAfterDispatch(visitor); 79 CSSValue::TraceAfterDispatch(visitor);
80 } 80 }
81 81
82 } // namespace blink 82 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSURIValue.h ('k') | third_party/WebKit/Source/core/css/CSSUnicodeRangeValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698