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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_exclusion.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/ng_exclusion.h" 5 #include "core/layout/ng/ng_exclusion.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 NGExclusion::operator==(const NGExclusion& other) const { 11 bool NGExclusion::operator==(const NGExclusion& other) const {
12 return std::tie(other.rect, other.type) == std::tie(rect, type); 12 return std::tie(other.rect, other.type) == std::tie(rect, type);
13 } 13 }
14 14
15 String NGExclusion::ToString() const { 15 String NGExclusion::ToString() const {
16 return String::Format("Rect: %s Type: %d", rect.ToString().Ascii().Data(), 16 return String::Format("Rect: %s Type: %d", rect.ToString().Ascii().Data(),
17 type); 17 type);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 inline NGExclusions& NGExclusions::operator=(const NGExclusions& other) { 69 inline NGExclusions& NGExclusions::operator=(const NGExclusions& other) {
70 storage.Clear(); 70 storage.Clear();
71 last_left_float = nullptr; 71 last_left_float = nullptr;
72 last_right_float = nullptr; 72 last_right_float = nullptr;
73 for (const auto& exclusion : other.storage) 73 for (const auto& exclusion : other.storage)
74 Add(*exclusion); 74 Add(*exclusion);
75 return *this; 75 return *this;
76 } 76 }
77 77
78 } // namespace blink 78 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_exclusion.h ('k') | third_party/WebKit/Source/core/layout/ng/ng_floating_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698