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

Unified Diff: Source/core/rendering/InlineTextBox.cpp

Issue 20231002: Replace RenderArena with PartitionAlloc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/InlineTextBox.h ('k') | Source/core/rendering/LayoutState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/InlineTextBox.cpp
diff --git a/Source/core/rendering/InlineTextBox.cpp b/Source/core/rendering/InlineTextBox.cpp
index 3a22c0fae1f2d0947e87df6c3030e240c40f25f8..e2eeae0773a22ce7063620fe64a13fa98a9f888b 100644
--- a/Source/core/rendering/InlineTextBox.cpp
+++ b/Source/core/rendering/InlineTextBox.cpp
@@ -65,11 +65,11 @@ static InlineTextBoxOverflowMap* gTextBoxesWithOverflow;
static const int misspellingLineThickness = 3;
-void InlineTextBox::destroy(RenderArena* arena)
+void InlineTextBox::destroy()
{
if (!knownToHaveNoOverflow() && gTextBoxesWithOverflow)
gTextBoxesWithOverflow->remove(this);
- InlineBox::destroy(arena);
+ InlineBox::destroy();
}
void InlineTextBox::markDirty(bool dirty)
@@ -238,10 +238,10 @@ LayoutRect InlineTextBox::localSelectionRect(int startPos, int endPos)
return LayoutRect(topPoint, LayoutSize(width, height));
}
-void InlineTextBox::deleteLine(RenderArena* arena)
+void InlineTextBox::deleteLine()
{
toRenderText(renderer())->removeTextBox(this);
- destroy(arena);
+ destroy();
}
void InlineTextBox::extractLine()
« no previous file with comments | « Source/core/rendering/InlineTextBox.h ('k') | Source/core/rendering/LayoutState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698