| Index: Source/core/editing/InsertLineBreakCommand.cpp
|
| diff --git a/Source/core/editing/InsertLineBreakCommand.cpp b/Source/core/editing/InsertLineBreakCommand.cpp
|
| index 22d9ff26e9b0d85b2225b65b911881ee9362f7a1..283cf149727500ad3e301d11203a2e1e01f04ce3 100644
|
| --- a/Source/core/editing/InsertLineBreakCommand.cpp
|
| +++ b/Source/core/editing/InsertLineBreakCommand.cpp
|
| @@ -84,7 +84,7 @@ bool InsertLineBreakCommand::shouldUseBreakElement(const Position& insertionPos)
|
| // the input element, and in that case we need to check the input element's
|
| // parent's renderer.
|
| Position p(insertionPos.parentAnchoredEquivalent());
|
| - return p.deprecatedNode()->renderer() && !p.deprecatedNode()->renderer()->style()->preserveNewline();
|
| + return p.renderer() && !p.renderer()->style()->preserveNewline();
|
| }
|
|
|
| void InsertLineBreakCommand::doApply()
|
|
|