| 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 1639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1650 if (LayoutObject* parent = this->parent()) { | 1650 if (LayoutObject* parent = this->parent()) { |
| 1651 if (parent->hasOverflowClip()) { | 1651 if (parent->hasOverflowClip()) { |
| 1652 LayoutBox* parentBox = toLayoutBox(parent); | 1652 LayoutBox* parentBox = toLayoutBox(parent); |
| 1653 parentBox->mapScrollingContentsRectToBoxSpace(rect); | 1653 parentBox->mapScrollingContentsRectToBoxSpace(rect); |
| 1654 if (parent != ancestor) | 1654 if (parent != ancestor) |
| 1655 parentBox->applyOverflowClip(rect); | 1655 parentBox->applyOverflowClip(rect); |
| 1656 if (rect.isEmpty()) | 1656 if (rect.isEmpty()) |
| 1657 return; | 1657 return; |
| 1658 } | 1658 } |
| 1659 | 1659 |
| 1660 parent->mapToVisibleRectInAncestorSpace(ancestor, rect, paintInvalidatio
nState); | 1660 parent->mapToVisibleRectInAncestorSpace(ancestor, rect, nullptr); |
| 1661 } | 1661 } |
| 1662 } | 1662 } |
| 1663 | 1663 |
| 1664 void LayoutObject::dirtyLinesFromChangedChild(LayoutObject*) | 1664 void LayoutObject::dirtyLinesFromChangedChild(LayoutObject*) |
| 1665 { | 1665 { |
| 1666 } | 1666 } |
| 1667 | 1667 |
| 1668 #ifndef NDEBUG | 1668 #ifndef NDEBUG |
| 1669 | 1669 |
| 1670 void LayoutObject::showTreeForThis() const | 1670 void LayoutObject::showTreeForThis() const |
| (...skipping 2056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3727 const blink::LayoutObject* root = object1; | 3727 const blink::LayoutObject* root = object1; |
| 3728 while (root->parent()) | 3728 while (root->parent()) |
| 3729 root = root->parent(); | 3729 root = root->parent(); |
| 3730 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); | 3730 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); |
| 3731 } else { | 3731 } else { |
| 3732 fprintf(stderr, "Cannot showLayoutTree. Root is (nil)\n"); | 3732 fprintf(stderr, "Cannot showLayoutTree. Root is (nil)\n"); |
| 3733 } | 3733 } |
| 3734 } | 3734 } |
| 3735 | 3735 |
| 3736 #endif | 3736 #endif |
| OLD | NEW |