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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.cc

Issue 2809363002: Rewrite references to "wtf/" to "platform/wtf/" in core/layout. (Closed)
Patch Set: 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/layout/ng/geometry/ng_box_strut.h" 5 #include "core/layout/ng/geometry/ng_box_strut.h"
6 6
7 #include "wtf/text/WTFString.h" 7 #include "platform/wtf/text/WTFString.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
11 bool NGBoxStrut::IsEmpty() const { 11 bool NGBoxStrut::IsEmpty() const {
12 return *this == NGBoxStrut(); 12 return *this == NGBoxStrut();
13 } 13 }
14 14
15 bool NGBoxStrut::operator==(const NGBoxStrut& other) const { 15 bool NGBoxStrut::operator==(const NGBoxStrut& other) const {
16 return std::tie(other.inline_start, other.inline_end, other.block_start, 16 return std::tie(other.inline_start, other.inline_end, other.block_start,
17 other.block_end) == 17 other.block_end) ==
(...skipping 29 matching lines...) Expand all
47 return String::Format("Inline: (%d %d) Block: (%d %d)", inline_start.ToInt(), 47 return String::Format("Inline: (%d %d) Block: (%d %d)", inline_start.ToInt(),
48 inline_end.ToInt(), block_start.ToInt(), 48 inline_end.ToInt(), block_start.ToInt(),
49 block_end.ToInt()); 49 block_end.ToInt());
50 } 50 }
51 51
52 std::ostream& operator<<(std::ostream& stream, const NGBoxStrut& value) { 52 std::ostream& operator<<(std::ostream& stream, const NGBoxStrut& value) {
53 return stream << value.ToString(); 53 return stream << value.ToString();
54 } 54 }
55 55
56 } // namespace blink 56 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698