| 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) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 | 549 |
| 550 box = containerRelativeQuad.enclosingBoundingBox(); | 550 box = containerRelativeQuad.enclosingBoundingBox(); |
| 551 | 551 |
| 552 // FIXME: layoutDelta needs to be applied in parts before/after transforms a
nd | 552 // FIXME: layoutDelta needs to be applied in parts before/after transforms a
nd |
| 553 // repaint containers. https://bugs.webkit.org/show_bug.cgi?id=23308 | 553 // repaint containers. https://bugs.webkit.org/show_bug.cgi?id=23308 |
| 554 box.move(view()->layoutDelta()); | 554 box.move(view()->layoutDelta()); |
| 555 | 555 |
| 556 return box; | 556 return box; |
| 557 } | 557 } |
| 558 | 558 |
| 559 void RenderBox::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint& add
itionalOffset, const RenderLayerModelObject*) | 559 void RenderBox::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint& add
itionalOffset) |
| 560 { | 560 { |
| 561 if (!size().isEmpty()) | 561 if (!size().isEmpty()) |
| 562 rects.append(pixelSnappedIntRect(additionalOffset, size())); | 562 rects.append(pixelSnappedIntRect(additionalOffset, size())); |
| 563 } | 563 } |
| 564 | 564 |
| 565 LayoutRect RenderBox::reflectionBox() const | 565 LayoutRect RenderBox::reflectionBox() const |
| 566 { | 566 { |
| 567 LayoutRect result; | 567 LayoutRect result; |
| 568 if (!style()->boxReflect()) | 568 if (!style()->boxReflect()) |
| 569 return result; | 569 return result; |
| (...skipping 3914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4484 | 4484 |
| 4485 void RenderBox::reportStaticMembersMemoryUsage(MemoryInstrumentation* memoryInst
rumentation) | 4485 void RenderBox::reportStaticMembersMemoryUsage(MemoryInstrumentation* memoryInst
rumentation) |
| 4486 { | 4486 { |
| 4487 memoryInstrumentation->addRootObject(gOverrideHeightMap, WebCoreMemoryTypes:
:RenderingStructures); | 4487 memoryInstrumentation->addRootObject(gOverrideHeightMap, WebCoreMemoryTypes:
:RenderingStructures); |
| 4488 memoryInstrumentation->addRootObject(gOverrideWidthMap, WebCoreMemoryTypes::
RenderingStructures); | 4488 memoryInstrumentation->addRootObject(gOverrideWidthMap, WebCoreMemoryTypes::
RenderingStructures); |
| 4489 memoryInstrumentation->addRootObject(gOverrideContainingBlockLogicalHeightMa
p, WebCoreMemoryTypes::RenderingStructures); | 4489 memoryInstrumentation->addRootObject(gOverrideContainingBlockLogicalHeightMa
p, WebCoreMemoryTypes::RenderingStructures); |
| 4490 memoryInstrumentation->addRootObject(gOverrideContainingBlockLogicalWidthMap
, WebCoreMemoryTypes::RenderingStructures); | 4490 memoryInstrumentation->addRootObject(gOverrideContainingBlockLogicalWidthMap
, WebCoreMemoryTypes::RenderingStructures); |
| 4491 } | 4491 } |
| 4492 | 4492 |
| 4493 } // namespace WebCore | 4493 } // namespace WebCore |
| OLD | NEW |