Commit 6b2e31b9 authored by weinig@apple.com's avatar weinig@apple.com
Browse files

2009-02-05 Sam Weinig <sam@webkit.org>

        Reviewed by Darin Adler.

        Fix missing checked cast.

        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::containingBlock):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5522031b
2009-02-05 Sam Weinig <sam@webkit.org>
Reviewed by Darin Adler.
Fix missing checked cast.
* rendering/RenderObject.cpp:
(WebCore::RenderObject::containingBlock):
2009-02-05 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
 
Not reviewed. Fix WML enabled builds.
......@@ -596,7 +596,7 @@ RenderBlock* RenderObject::containingBlock() const
}
if (isRenderView())
return const_cast<RenderBlock*>(static_cast<const RenderBlock*>(this));
return const_cast<RenderView*>(toRenderView(this));
RenderObject* o = parent();
if (!isText() && m_style->position() == FixedPosition) {
......
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