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

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

Issue 16896019: Replace RenderArena with PartitionAlloc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/InlineTextBox.cpp
diff --git a/Source/core/rendering/InlineTextBox.cpp b/Source/core/rendering/InlineTextBox.cpp
index 381320e7adb43dddb3228ddab0acec3ea7c60a22..3f9152c27714f4c86f49bf9f96c59b34ca047231 100644
--- a/Source/core/rendering/InlineTextBox.cpp
+++ b/Source/core/rendering/InlineTextBox.cpp
@@ -66,11 +66,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)
@@ -239,10 +239,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()

Powered by Google App Engine
This is Rietveld 408576698