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

Unified Diff: Source/core/platform/text/BidiRunList.h

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/platform/text/BidiResolver.h ('k') | Source/core/rendering/BidiRun.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/text/BidiRunList.h
diff --git a/Source/core/platform/text/BidiRunList.h b/Source/core/platform/text/BidiRunList.h
index 269b7fc92b102307363332890348e7bc663f65df..e4d701e05271a744b64c08dac48305832b6e658a 100644
--- a/Source/core/platform/text/BidiRunList.h
+++ b/Source/core/platform/text/BidiRunList.h
@@ -167,7 +167,7 @@ void BidiRunList<Run>::replaceRunWithRuns(Run* toReplace, BidiRunList<Run>& newR
m_logicallyLastRun = newRuns.logicallyLastRun();
m_runCount += newRuns.runCount() - 1; // We added the new runs and removed toReplace.
- toReplace->destroy();
+ delete toReplace;
newRuns.clearWithoutDestroyingRuns();
}
@@ -189,7 +189,7 @@ void BidiRunList<Run>::deleteRuns()
Run* curr = m_firstRun;
while (curr) {
Run* s = curr->next();
- curr->destroy();
+ delete curr;
curr = s;
}
« no previous file with comments | « Source/core/platform/text/BidiResolver.h ('k') | Source/core/rendering/BidiRun.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698