Commit 24cebcc9 authored by hyatt's avatar hyatt

Fix leak of column vector.

git-svn-id: svn://svn.chromium.org/blink/trunk@18829 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d73d0ff9
...@@ -109,6 +109,7 @@ RenderBlock::~RenderBlock() ...@@ -109,6 +109,7 @@ RenderBlock::~RenderBlock()
{ {
delete m_floatingObjects; delete m_floatingObjects;
delete m_positionedObjects; delete m_positionedObjects;
delete m_columnRects;
} }
void RenderBlock::setStyle(RenderStyle* _style) void RenderBlock::setStyle(RenderStyle* _style)
...@@ -3222,7 +3223,7 @@ void RenderBlock::calcMinMaxWidth() ...@@ -3222,7 +3223,7 @@ void RenderBlock::calcMinMaxWidth()
m_minWidth = m_maxWidth; m_minWidth = m_maxWidth;
// A horizontal marquee with inline children has no minimum width. // A horizontal marquee with inline children has no minimum width.
if (m_layer && m_layer->marquee() && m_layer->marquee()->isHorizontal() && !m_layer->marquee()->isUnfurlMarquee()) if (m_layer && m_layer->marquee() && m_layer->marquee()->isHorizontal())
m_minWidth = 0; m_minWidth = 0;
} }
......
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