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

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

Issue 421463002: Have BidiRunList destructor delete runs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
Index: Source/platform/text/BidiRunList.h
diff --git a/Source/platform/text/BidiRunList.h b/Source/platform/text/BidiRunList.h
index bfaaab0de9cc576609802973d6cda072e7a29716..d800be787bdf65bfc268f7b64e847e45131c0e4a 100644
--- a/Source/platform/text/BidiRunList.h
+++ b/Source/platform/text/BidiRunList.h
@@ -40,8 +40,7 @@ public:
{
}
- // FIXME: Once BidiResolver no longer owns the BidiRunList,
- // then ~BidiRunList should call deleteRuns() automatically.
+ ~BidiRunList() { deleteRuns(); }
Run* firstRun() const { return m_firstRun; }
Run* lastRun() const { return m_lastRun; }

Powered by Google App Engine
This is Rietveld 408576698