| 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 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1403 FloatRect result; | 1403 FloatRect result; |
| 1404 for (size_t i = 0; i < quads.size(); ++i) | 1404 for (size_t i = 0; i < quads.size(); ++i) |
| 1405 result.unite(quads[i].boundingBox()); | 1405 result.unite(quads[i].boundingBox()); |
| 1406 | 1406 |
| 1407 return result; | 1407 return result; |
| 1408 } | 1408 } |
| 1409 | 1409 |
| 1410 void RenderObject::addAbsoluteRectForLayer(LayoutRect& result) | 1410 void RenderObject::addAbsoluteRectForLayer(LayoutRect& result) |
| 1411 { | 1411 { |
| 1412 if (hasLayer()) | 1412 if (hasLayer()) |
| 1413 result.unite(absoluteBoundingBoxRectIgnoringTransforms()); | 1413 result.unite(absoluteBoundingBoxRect()); |
| 1414 for (RenderObject* current = slowFirstChild(); current; current = current->n
extSibling()) | 1414 for (RenderObject* current = slowFirstChild(); current; current = current->n
extSibling()) |
| 1415 current->addAbsoluteRectForLayer(result); | 1415 current->addAbsoluteRectForLayer(result); |
| 1416 } | 1416 } |
| 1417 | 1417 |
| 1418 LayoutRect RenderObject::paintingRootRect(LayoutRect& topLevelRect) | 1418 LayoutRect RenderObject::paintingRootRect(LayoutRect& topLevelRect) |
| 1419 { | 1419 { |
| 1420 LayoutRect result = absoluteBoundingBoxRectIgnoringTransforms(); | 1420 LayoutRect result = absoluteBoundingBoxRect(); |
| 1421 topLevelRect = result; | 1421 topLevelRect = result; |
| 1422 for (RenderObject* current = slowFirstChild(); current; current = current->n
extSibling()) | 1422 for (RenderObject* current = slowFirstChild(); current; current = current->n
extSibling()) |
| 1423 current->addAbsoluteRectForLayer(result); | 1423 current->addAbsoluteRectForLayer(result); |
| 1424 return result; | 1424 return result; |
| 1425 } | 1425 } |
| 1426 | 1426 |
| 1427 void RenderObject::paint(PaintInfo&, const LayoutPoint&) | 1427 void RenderObject::paint(PaintInfo&, const LayoutPoint&) |
| 1428 { | 1428 { |
| 1429 } | 1429 } |
| 1430 | 1430 |
| (...skipping 2126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3557 { | 3557 { |
| 3558 if (object1) { | 3558 if (object1) { |
| 3559 const WebCore::RenderObject* root = object1; | 3559 const WebCore::RenderObject* root = object1; |
| 3560 while (root->parent()) | 3560 while (root->parent()) |
| 3561 root = root->parent(); | 3561 root = root->parent(); |
| 3562 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); | 3562 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); |
| 3563 } | 3563 } |
| 3564 } | 3564 } |
| 3565 | 3565 |
| 3566 #endif | 3566 #endif |
| OLD | NEW |