OLD | NEW |
---|---|
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 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1075 | 1075 |
1076 String LayoutObject::debugName() const | 1076 String LayoutObject::debugName() const |
1077 { | 1077 { |
1078 StringBuilder name; | 1078 StringBuilder name; |
1079 name.append(decoratedName()); | 1079 name.append(decoratedName()); |
1080 | 1080 |
1081 if (const Node* node = this->node()) { | 1081 if (const Node* node = this->node()) { |
1082 name.append(' '); | 1082 name.append(' '); |
1083 name.append(node->debugName()); | 1083 name.append(node->debugName()); |
1084 } | 1084 } |
1085 name.append(String::format(" %p", this)); | |
Xianzhu
2016/09/20 23:13:41
The output of debugName() is used in layout test o
chrishtr
2016/09/20 23:43:59
Good point. Removed.
| |
1085 return name.toString(); | 1086 return name.toString(); |
1086 } | 1087 } |
1087 | 1088 |
1088 LayoutRect LayoutObject::visualRect() const | 1089 LayoutRect LayoutObject::visualRect() const |
1089 { | 1090 { |
1090 return previousPaintInvalidationRect(); | 1091 return previousPaintInvalidationRect(); |
1091 } | 1092 } |
1092 | 1093 |
1093 bool LayoutObject::isPaintInvalidationContainer() const | 1094 bool LayoutObject::isPaintInvalidationContainer() const |
1094 { | 1095 { |
(...skipping 2190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3285 const blink::LayoutObject* root = object1; | 3286 const blink::LayoutObject* root = object1; |
3286 while (root->parent()) | 3287 while (root->parent()) |
3287 root = root->parent(); | 3288 root = root->parent(); |
3288 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); | 3289 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); |
3289 } else { | 3290 } else { |
3290 WTFLogAlways("%s", "Cannot showLayoutTree. Root is (nil)"); | 3291 WTFLogAlways("%s", "Cannot showLayoutTree. Root is (nil)"); |
3291 } | 3292 } |
3292 } | 3293 } |
3293 | 3294 |
3294 #endif | 3295 #endif |
OLD | NEW |