Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: Source/core/layout/line/InlineBox.cpp

Issue 1189593003: Rename Partitions::getRenderingPartition() -> getLayoutPartition() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/paint/DeprecatedPaintLayer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/paint/DeprecatedPaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698