| 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 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1640 | 1640 |
| 1641 if (LayoutObject* parent = this->parent()) { | 1641 if (LayoutObject* parent = this->parent()) { |
| 1642 if (parent->isBox() && !toLayoutBox(parent)->mapScrollingContentsRectToB
oxSpace(rect, parent == ancestor ? ApplyNonScrollOverflowClip : ApplyOverflowCli
p, visualRectFlags)) | 1642 if (parent->isBox() && !toLayoutBox(parent)->mapScrollingContentsRectToB
oxSpace(rect, parent == ancestor ? ApplyNonScrollOverflowClip : ApplyOverflowCli
p, visualRectFlags)) |
| 1643 return false; | 1643 return false; |
| 1644 | 1644 |
| 1645 return parent->mapToVisualRectInAncestorSpace(ancestor, rect, visualRect
Flags); | 1645 return parent->mapToVisualRectInAncestorSpace(ancestor, rect, visualRect
Flags); |
| 1646 } | 1646 } |
| 1647 return true; | 1647 return true; |
| 1648 } | 1648 } |
| 1649 | 1649 |
| 1650 void LayoutObject::dirtyLinesFromChangedChild(LayoutObject*) | 1650 void LayoutObject::dirtyLinesFromChangedChild(LayoutObject*, MarkingBehavior) |
| 1651 { | 1651 { |
| 1652 } | 1652 } |
| 1653 | 1653 |
| 1654 #ifndef NDEBUG | 1654 #ifndef NDEBUG |
| 1655 | 1655 |
| 1656 void LayoutObject::showTreeForThis() const | 1656 void LayoutObject::showTreeForThis() const |
| 1657 { | 1657 { |
| 1658 if (node()) | 1658 if (node()) |
| 1659 node()->showTreeForThis(); | 1659 node()->showTreeForThis(); |
| 1660 } | 1660 } |
| (...skipping 2053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3714 const blink::LayoutObject* root = object1; | 3714 const blink::LayoutObject* root = object1; |
| 3715 while (root->parent()) | 3715 while (root->parent()) |
| 3716 root = root->parent(); | 3716 root = root->parent(); |
| 3717 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); | 3717 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); |
| 3718 } else { | 3718 } else { |
| 3719 fprintf(stderr, "Cannot showLayoutTree. Root is (nil)\n"); | 3719 fprintf(stderr, "Cannot showLayoutTree. Root is (nil)\n"); |
| 3720 } | 3720 } |
| 3721 } | 3721 } |
| 3722 | 3722 |
| 3723 #endif | 3723 #endif |
| OLD | NEW |