| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
| 3 * | 3 * |
| 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 5 * | 5 * |
| 6 * Other contributors: | 6 * Other contributors: |
| 7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
| 9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
| 10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
| (...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1112 return clipRect; | 1112 return clipRect; |
| 1113 } | 1113 } |
| 1114 | 1114 |
| 1115 LayoutRect DeprecatedPaintLayer::paintingExtent(const DeprecatedPaintLayer* root
Layer, const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation,
PaintBehavior paintBehavior) | 1115 LayoutRect DeprecatedPaintLayer::paintingExtent(const DeprecatedPaintLayer* root
Layer, const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation,
PaintBehavior paintBehavior) |
| 1116 { | 1116 { |
| 1117 return intersection(transparencyClipBox(this, rootLayer, PaintingTransparenc
yClipBox, RootOfTransparencyClipBox, subPixelAccumulation, paintBehavior), paint
DirtyRect); | 1117 return intersection(transparencyClipBox(this, rootLayer, PaintingTransparenc
yClipBox, RootOfTransparencyClipBox, subPixelAccumulation, paintBehavior), paint
DirtyRect); |
| 1118 } | 1118 } |
| 1119 | 1119 |
| 1120 void* DeprecatedPaintLayer::operator new(size_t sz) | 1120 void* DeprecatedPaintLayer::operator new(size_t sz) |
| 1121 { | 1121 { |
| 1122 return partitionAlloc(WTF::Partitions::getRenderingPartition(), sz); | 1122 return partitionAlloc(WTF::Partitions::layoutPartition(), sz); |
| 1123 } | 1123 } |
| 1124 | 1124 |
| 1125 void DeprecatedPaintLayer::operator delete(void* ptr) | 1125 void DeprecatedPaintLayer::operator delete(void* ptr) |
| 1126 { | 1126 { |
| 1127 partitionFree(ptr); | 1127 partitionFree(ptr); |
| 1128 } | 1128 } |
| 1129 | 1129 |
| 1130 void DeprecatedPaintLayer::addChild(DeprecatedPaintLayer* child, DeprecatedPaint
Layer* beforeChild) | 1130 void DeprecatedPaintLayer::addChild(DeprecatedPaintLayer* child, DeprecatedPaint
Layer* beforeChild) |
| 1131 { | 1131 { |
| 1132 DeprecatedPaintLayer* prevSibling = beforeChild ? beforeChild->previousSibli
ng() : lastChild(); | 1132 DeprecatedPaintLayer* prevSibling = beforeChild ? beforeChild->previousSibli
ng() : lastChild(); |
| (...skipping 1630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2763 | 2763 |
| 2764 void showLayerTree(const blink::LayoutObject* layoutObject) | 2764 void showLayerTree(const blink::LayoutObject* layoutObject) |
| 2765 { | 2765 { |
| 2766 if (!layoutObject) { | 2766 if (!layoutObject) { |
| 2767 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); | 2767 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); |
| 2768 return; | 2768 return; |
| 2769 } | 2769 } |
| 2770 showLayerTree(layoutObject->enclosingLayer()); | 2770 showLayerTree(layoutObject->enclosingLayer()); |
| 2771 } | 2771 } |
| 2772 #endif | 2772 #endif |
| OLD | NEW |