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

Unified Diff: Source/core/rendering/InlineFlowBox.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/InlineFlowBox.cpp
diff --git a/Source/core/rendering/InlineFlowBox.cpp b/Source/core/rendering/InlineFlowBox.cpp
index 040faa7fc1f06c797a75bfe293e49caa45053739..430605b4c52adbce6eef8a272995e9015a723b9c 100644
--- a/Source/core/rendering/InlineFlowBox.cpp
+++ b/Source/core/rendering/InlineFlowBox.cpp
@@ -199,7 +199,7 @@ void InlineFlowBox::removeChild(InlineBox* child)
checkConsistency();
}
-void InlineFlowBox::deleteLine(RenderArena* arena)
+void InlineFlowBox::deleteLine()
{
InlineBox* child = firstChild();
InlineBox* next = 0;
@@ -209,7 +209,7 @@ void InlineFlowBox::deleteLine(RenderArena* arena)
#ifndef NDEBUG
child->setParent(0);
#endif
- child->deleteLine(arena);
+ child->deleteLine();
child = next;
}
#ifndef NDEBUG
@@ -218,7 +218,7 @@ void InlineFlowBox::deleteLine(RenderArena* arena)
#endif
removeLineBoxFromRenderObject();
- destroy(arena);
+ destroy();
}
void InlineFlowBox::removeLineBoxFromRenderObject()

Powered by Google App Engine
This is Rietveld 408576698