Chromium Code Reviews| Index: Source/core/editing/InsertLineBreakCommand.cpp |
| diff --git a/Source/core/editing/InsertLineBreakCommand.cpp b/Source/core/editing/InsertLineBreakCommand.cpp |
| index dc10873ba4a19da0da5ad8fb8db7d52c2cc14df2..900180d306001fa057441d2ed0a525174d4ac5dc 100644 |
| --- a/Source/core/editing/InsertLineBreakCommand.cpp |
| +++ b/Source/core/editing/InsertLineBreakCommand.cpp |
| @@ -81,7 +81,7 @@ void InsertLineBreakCommand::doApply() |
| pos = positionOutsideTabSpan(pos); |
| - RefPtr<Node> nodeToInsert; |
| + RefPtrWillBeRawPtr<Node> nodeToInsert; |
|
haraken
2014/05/26 02:36:12
= nullptr;
sof
2014/05/28 08:31:35
Complied.
|
| if (shouldUseBreakElement(pos)) |
| nodeToInsert = createBreakElement(document()); |
| else |
| @@ -141,7 +141,7 @@ void InsertLineBreakCommand::doApply() |
| // Handle the case where there is a typing style. |
| - RefPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle(); |
| + RefPtrWillBeRawPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle(); |
| if (typingStyle && !typingStyle->isEmpty()) { |
| // Apply the typing style to the inserted line break, so that if the selection |