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

Unified Diff: Source/core/rendering/BidiRun.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/BidiRunList.h ('k') | Source/core/rendering/BidiRun.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/BidiRun.h
diff --git a/Source/core/rendering/BidiRun.h b/Source/core/rendering/BidiRun.h
index 74f3fadbf5794e4b84d5dbe2fef2ba5813087863..abfe2d1df9b03c6109762a212eec9c3cba8603b8 100644
--- a/Source/core/rendering/BidiRun.h
+++ b/Source/core/rendering/BidiRun.h
@@ -44,21 +44,13 @@ struct BidiRun : BidiCharacterRun {
m_startsSegment = false;
}
- void destroy();
-
- // Overloaded new operator.
- void* operator new(size_t, RenderArena*);
-
- // Overridden to prevent the normal delete from being called.
- void operator delete(void*, size_t);
+ // BidiRuns are allocated out of the rendering partition.
+ void* operator new(size_t);
+ void operator delete(void*);
BidiRun* next() { return static_cast<BidiRun*>(m_next); }
RenderObject* object() { return m_object; }
-private:
- // The normal operator new is disallowed.
- void* operator new(size_t) throw();
-
public:
RenderObject* m_object;
InlineBox* m_box;
« no previous file with comments | « Source/core/platform/text/BidiRunList.h ('k') | Source/core/rendering/BidiRun.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698