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

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

Issue 2280153002: Refactoring out the code in LayoutTreeAsText::writeLayoutObject. (Closed)
Patch Set: Rename helper 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 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv ed. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv ed.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 #include "core/page/AutoscrollController.h" 72 #include "core/page/AutoscrollController.h"
73 #include "core/page/Page.h" 73 #include "core/page/Page.h"
74 #include "core/paint/ObjectPaintInvalidator.h" 74 #include "core/paint/ObjectPaintInvalidator.h"
75 #include "core/paint/ObjectPaintProperties.h" 75 #include "core/paint/ObjectPaintProperties.h"
76 #include "core/paint/PaintLayer.h" 76 #include "core/paint/PaintLayer.h"
77 #include "core/style/ContentData.h" 77 #include "core/style/ContentData.h"
78 #include "core/style/CursorData.h" 78 #include "core/style/CursorData.h"
79 #include "platform/RuntimeEnabledFeatures.h" 79 #include "platform/RuntimeEnabledFeatures.h"
80 #include "platform/TracedValue.h" 80 #include "platform/TracedValue.h"
81 #include "platform/geometry/TransformState.h" 81 #include "platform/geometry/TransformState.h"
82 #include "platform/scroll/ScrollableArea.h"
skobes 2016/09/09 20:27:41 Do you need this? There are no other changes in t
lunalu1 2016/09/12 14:45:13 Done.
82 #include "wtf/allocator/Partitions.h" 83 #include "wtf/allocator/Partitions.h"
83 #include "wtf/text/StringBuilder.h" 84 #include "wtf/text/StringBuilder.h"
84 #include "wtf/text/WTFString.h" 85 #include "wtf/text/WTFString.h"
85 #include <algorithm> 86 #include <algorithm>
86 #include <memory> 87 #include <memory>
87 #ifndef NDEBUG 88 #ifndef NDEBUG
88 #include <stdio.h> 89 #include <stdio.h>
89 #endif 90 #endif
90 91
91 namespace blink { 92 namespace blink {
(...skipping 3165 matching lines...) Expand 10 before | Expand all | Expand 10 after
3257 const blink::LayoutObject* root = object1; 3258 const blink::LayoutObject* root = object1;
3258 while (root->parent()) 3259 while (root->parent())
3259 root = root->parent(); 3260 root = root->parent();
3260 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); 3261 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0);
3261 } else { 3262 } else {
3262 WTFLogAlways("%s", "Cannot showLayoutTree. Root is (nil)"); 3263 WTFLogAlways("%s", "Cannot showLayoutTree. Root is (nil)");
3263 } 3264 }
3264 } 3265 }
3265 3266
3266 #endif 3267 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698