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

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

Issue 2391383002: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 2 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 "core/frame/FrameView.h" 7 #include "core/frame/FrameView.h"
8 #include "core/layout/LayoutBlock.h" 8 #include "core/layout/LayoutBlock.h"
9 #include "core/layout/LayoutObject.h" 9 #include "core/layout/LayoutObject.h"
10 #include "core/layout/LayoutText.h" 10 #include "core/layout/LayoutText.h"
11 #include "platform/TracedValue.h" 11 #include "platform/tracing/TracedValue.h"
12 #include <memory> 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
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 return "CharactersInLayoutObjectsThatAreTextAndCanUseTheSimpleFontCodePat" 157 return "CharactersInLayoutObjectsThatAreTextAndCanUseTheSimpleFontCodePat"
158 "h"; 158 "h";
159 case TotalLayoutObjectsThatWereLaidOut: 159 case TotalLayoutObjectsThatWereLaidOut:
160 return "TotalLayoutObjectsThatWereLaidOut"; 160 return "TotalLayoutObjectsThatWereLaidOut";
161 } 161 }
162 ASSERT_NOT_REACHED(); 162 ASSERT_NOT_REACHED();
163 return ""; 163 return "";
164 } 164 }
165 165
166 } // namespace blink 166 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698