commit | c3cbb6b3fd5dadae2477f6d8336dc9852f3c8d87 | [log] [tgz] |
---|---|---|
author | antti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Fri Sep 20 08:59:25 2013 +0000 |
committer | antti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Fri Sep 20 08:59:25 2013 +0000 |
tree | 4ebaa24401f418dfb26e58c54acc1ed1696cb4a5 | |
parent | f0f32d39da97275fbdd5119d06b960373b6e5575 [diff] [blame] |
Add covariant RenderElement* Element::renderer() https://bugs.webkit.org/show_bug.cgi?id=121638 Reviewed by Andreas Kling. Also add isRenderElement() test and casting functions. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/editing/TypingCommand.cpp b/Source/WebCore/editing/TypingCommand.cpp index c16ed04..7381296 100644 --- a/Source/WebCore/editing/TypingCommand.cpp +++ b/Source/WebCore/editing/TypingCommand.cpp
@@ -37,7 +37,7 @@ #include "InsertLineBreakCommand.h" #include "InsertParagraphSeparatorCommand.h" #include "InsertTextCommand.h" -#include "RenderObject.h" +#include "RenderElement.h" #include "TextIterator.h" #include "VisiblePosition.h" #include "VisibleUnits.h"