| 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) 2001 Dirk Mueller (mueller@kde.org) | 4  *           (C) 2001 Dirk Mueller (mueller@kde.org) | 
| 5  * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights 
      reserved. | 5  * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights 
      reserved. | 
| 6  * | 6  * | 
| 7  * This library is free software; you can redistribute it and/or | 7  * This library is free software; you can redistribute it and/or | 
| 8  * modify it under the terms of the GNU Library General Public | 8  * modify it under the terms of the GNU Library General Public | 
| 9  * License as published by the Free Software Foundation; either | 9  * License as published by the Free Software Foundation; either | 
| 10  * version 2 of the License, or (at your option) any later version. | 10  * version 2 of the License, or (at your option) any later version. | 
| (...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 852         return true; | 852         return true; | 
| 853     } | 853     } | 
| 854     return false; | 854     return false; | 
| 855 } | 855 } | 
| 856 | 856 | 
| 857 static inline LayoutObject* endOfContinuations(LayoutObject* layoutObject) | 857 static inline LayoutObject* endOfContinuations(LayoutObject* layoutObject) | 
| 858 { | 858 { | 
| 859     LayoutObject* prev = nullptr; | 859     LayoutObject* prev = nullptr; | 
| 860     LayoutObject* cur = layoutObject; | 860     LayoutObject* cur = layoutObject; | 
| 861 | 861 | 
| 862     if (!cur->isLayoutInline() && !cur->isLayoutBlock()) | 862     if (!cur->isLayoutInline() && !cur->isLayoutBlockFlow()) | 
| 863         return nullptr; | 863         return nullptr; | 
| 864 | 864 | 
| 865     while (cur) { | 865     while (cur) { | 
| 866         prev = cur; | 866         prev = cur; | 
| 867         if (cur->isLayoutInline()) | 867         if (cur->isLayoutInline()) | 
| 868             cur = toLayoutInline(cur)->continuation(); | 868             cur = toLayoutInline(cur)->continuation(); | 
| 869         else | 869         else | 
| 870             cur = toLayoutBlock(cur)->continuation(); | 870             cur = toLayoutBlockFlow(cur)->continuation(); | 
| 871     } | 871     } | 
| 872 | 872 | 
| 873     return prev; | 873     return prev; | 
| 874 } | 874 } | 
| 875 | 875 | 
| 876 bool ContainerNode::getLowerRightCorner(FloatPoint& point) const | 876 bool ContainerNode::getLowerRightCorner(FloatPoint& point) const | 
| 877 { | 877 { | 
| 878     if (!layoutObject()) | 878     if (!layoutObject()) | 
| 879         return false; | 879         return false; | 
| 880 | 880 | 
| (...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1384         return true; | 1384         return true; | 
| 1385 | 1385 | 
| 1386     if (node->isElementNode() && toElement(node)->shadow()) | 1386     if (node->isElementNode() && toElement(node)->shadow()) | 
| 1387         return true; | 1387         return true; | 
| 1388 | 1388 | 
| 1389     return false; | 1389     return false; | 
| 1390 } | 1390 } | 
| 1391 #endif | 1391 #endif | 
| 1392 | 1392 | 
| 1393 } // namespace blink | 1393 } // namespace blink | 
| OLD | NEW | 
|---|