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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp

Issue 2316533004: Don't include headers from the layout API from other headers needlessly. (Closed)
Patch Set: The runway sure is slippery today. Created 4 years, 3 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/paint/PaintPropertyTreePrinter.h" 5 #include "core/paint/PaintPropertyTreePrinter.h"
6 6
7 #include "core/frame/FrameView.h" 7 #include "core/frame/FrameView.h"
8 #include "core/frame/LocalFrame.h" 8 #include "core/frame/LocalFrame.h"
9 #include "core/layout/LayoutPart.h"
9 #include "core/layout/LayoutView.h" 10 #include "core/layout/LayoutView.h"
10 #include "core/paint/ObjectPaintProperties.h" 11 #include "core/paint/ObjectPaintProperties.h"
11 12
12 #include <iomanip> 13 #include <iomanip>
13 #include <sstream> 14 #include <sstream>
14 15
15 #ifndef NDEBUG 16 #ifndef NDEBUG
16 17
17 namespace blink { 18 namespace blink {
18 namespace { 19 namespace {
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 474
474 String paintPropertyTreeGraph(const blink::FrameView& frameView) 475 String paintPropertyTreeGraph(const blink::FrameView& frameView)
475 { 476 {
476 blink::PaintPropertyTreeGraphBuilder builder; 477 blink::PaintPropertyTreeGraphBuilder builder;
477 StringBuilder stringBuilder; 478 StringBuilder stringBuilder;
478 builder.generateTreeGraph(frameView, stringBuilder); 479 builder.generateTreeGraph(frameView, stringBuilder);
479 return stringBuilder.toString(); 480 return stringBuilder.toString();
480 } 481 }
481 482
482 #endif 483 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698