| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 } | 66 } |
| 67 | 67 |
| 68 void InlineBox::remove(MarkLineBoxes markLineBoxes) | 68 void InlineBox::remove(MarkLineBoxes markLineBoxes) |
| 69 { | 69 { |
| 70 if (parent()) | 70 if (parent()) |
| 71 parent()->removeChild(this, markLineBoxes); | 71 parent()->removeChild(this, markLineBoxes); |
| 72 } | 72 } |
| 73 | 73 |
| 74 void* InlineBox::operator new(size_t sz) | 74 void* InlineBox::operator new(size_t sz) |
| 75 { | 75 { |
| 76 return partitionAlloc(WTF::Partitions::getRenderingPartition(), sz); | 76 return partitionAlloc(WTF::Partitions::layoutPartition(), sz); |
| 77 } | 77 } |
| 78 | 78 |
| 79 void InlineBox::operator delete(void* ptr) | 79 void InlineBox::operator delete(void* ptr) |
| 80 { | 80 { |
| 81 partitionFree(ptr); | 81 partitionFree(ptr); |
| 82 } | 82 } |
| 83 | 83 |
| 84 const char* InlineBox::boxName() const | 84 const char* InlineBox::boxName() const |
| 85 { | 85 { |
| 86 return "InlineBox"; | 86 return "InlineBox"; |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 | 393 |
| 394 void showLineTree(const blink::InlineBox* b) | 394 void showLineTree(const blink::InlineBox* b) |
| 395 { | 395 { |
| 396 if (b) | 396 if (b) |
| 397 b->showLineTreeForThis(); | 397 b->showLineTreeForThis(); |
| 398 else | 398 else |
| 399 fprintf(stderr, "Cannot showLineTree for (nil) InlineBox.\n"); | 399 fprintf(stderr, "Cannot showLineTree for (nil) InlineBox.\n"); |
| 400 } | 400 } |
| 401 | 401 |
| 402 #endif | 402 #endif |
| OLD | NEW |