| Index: Source/core/editing/InsertLineBreakCommand.cpp
|
| diff --git a/Source/core/editing/InsertLineBreakCommand.cpp b/Source/core/editing/InsertLineBreakCommand.cpp
|
| index 1a8a0ebe577f743a3ebec7b93068c721a1ceefe4..aae57028e9ee4afe7a6917747e541c0051cdc997 100644
|
| --- a/Source/core/editing/InsertLineBreakCommand.cpp
|
| +++ b/Source/core/editing/InsertLineBreakCommand.cpp
|
| @@ -59,7 +59,7 @@ bool InsertLineBreakCommand::shouldUseBreakElement(const Position& insertionPos)
|
| {
|
| // An editing position like [input, 0] actually refers to the position before
|
| // the input element, and in that case we need to check the input element's
|
| - // parent's renderer.
|
| + // parent's layoutObject.
|
| Position p(insertionPos.parentAnchoredEquivalent());
|
| return p.deprecatedNode()->layoutObject() && !p.deprecatedNode()->layoutObject()->style()->preserveNewline();
|
| }
|
|
|