Commit bf4ed05e authored by yurys@chromium.org's avatar yurys@chromium.org

m_totalAllocated should be intialized in RenderArena constructor

https://bugs.webkit.org/show_bug.cgi?id=87967

Reviewed by Ojan Vafai.

* rendering/RenderArena.cpp:
(WebCore::RenderArena::RenderArena): added missing initializer.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 890056bc
2012-05-31 Yury Semikhatsky <yurys@chromium.org>
m_totalAllocated should be intialized in RenderArena constructor
https://bugs.webkit.org/show_bug.cgi?id=87967
Reviewed by Ojan Vafai.
* rendering/RenderArena.cpp:
(WebCore::RenderArena::RenderArena): added missing initializer.
2012-05-31 Julien Chaffraix <jchaffraix@webkit.org>
The difference between a column and a column group renderer is badly drawn
......
......@@ -60,14 +60,14 @@ static const size_t debugHeaderSize = ARENA_ALIGN(sizeof(RenderArenaDebugHeader)
#endif
RenderArena::RenderArena(unsigned arenaSize)
: m_totalSize(0)
, m_totalAllocated(0)
{
// Initialize the arena pool
INIT_ARENA_POOL(&m_pool, "RenderArena", arenaSize);
// Zero out the recyclers array
memset(m_recyclers, 0, sizeof(m_recyclers));
m_totalSize = 0;
}
RenderArena::~RenderArena()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment