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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutAnalyzer.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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/layout/LayoutAnalyzer.h" 5 #include "core/layout/LayoutAnalyzer.h"
6 6
7 #include <memory>
7 #include "core/frame/FrameView.h" 8 #include "core/frame/FrameView.h"
8 #include "core/layout/LayoutBlock.h" 9 #include "core/layout/LayoutBlock.h"
9 #include "core/layout/LayoutObject.h" 10 #include "core/layout/LayoutObject.h"
10 #include "core/layout/LayoutText.h" 11 #include "core/layout/LayoutText.h"
11 #include "platform/instrumentation/tracing/TracedValue.h" 12 #include "platform/instrumentation/tracing/TracedValue.h"
12 #include <memory>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 LayoutAnalyzer::Scope::Scope(const LayoutObject& o) 16 LayoutAnalyzer::Scope::Scope(const LayoutObject& o)
17 : m_layoutObject(o), m_analyzer(o.frameView()->layoutAnalyzer()) { 17 : m_layoutObject(o), m_analyzer(o.frameView()->layoutAnalyzer()) {
18 if (m_analyzer) 18 if (m_analyzer)
19 m_analyzer->push(o); 19 m_analyzer->push(o);
20 } 20 }
21 21
22 LayoutAnalyzer::Scope::~Scope() { 22 LayoutAnalyzer::Scope::~Scope() {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 return "CharactersInLayoutObjectsThatAreTextAndCanUseTheSimpleFontCodePat" 150 return "CharactersInLayoutObjectsThatAreTextAndCanUseTheSimpleFontCodePat"
151 "h"; 151 "h";
152 case TotalLayoutObjectsThatWereLaidOut: 152 case TotalLayoutObjectsThatWereLaidOut:
153 return "TotalLayoutObjectsThatWereLaidOut"; 153 return "TotalLayoutObjectsThatWereLaidOut";
154 } 154 }
155 ASSERT_NOT_REACHED(); 155 ASSERT_NOT_REACHED();
156 return ""; 156 return "";
157 } 157 }
158 158
159 } // namespace blink 159 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutAnalyzer.h ('k') | third_party/WebKit/Source/core/layout/LayoutBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698