| Index: Source/core/editing/CompositeEditCommand.cpp
|
| diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp
|
| index 74dd2aa22abcb66a771543c65136835a1f639bd2..d954114d8ff6efd79813c94e815d6cec92091749 100644
|
| --- a/Source/core/editing/CompositeEditCommand.cpp
|
| +++ b/Source/core/editing/CompositeEditCommand.cpp
|
| @@ -66,6 +66,7 @@
|
| #include "core/html/HTMLBRElement.h"
|
| #include "core/html/HTMLDivElement.h"
|
| #include "core/html/HTMLElement.h"
|
| +#include "core/html/HTMLQuoteElement.h"
|
| #include "core/html/HTMLSpanElement.h"
|
| #include "core/rendering/InlineTextBox.h"
|
| #include "core/rendering/RenderBlock.h"
|
| @@ -1360,7 +1361,7 @@ bool CompositeEditCommand::breakOutOfEmptyMailBlockquotedParagraph()
|
| return false;
|
|
|
| VisiblePosition caret(endingSelection().visibleStart());
|
| - Node* highestBlockquote = highestEnclosingNodeOfType(caret.deepEquivalent(), &isMailBlockquote);
|
| + HTMLQuoteElement* highestBlockquote = toHTMLQuoteElement(highestEnclosingNodeOfType(caret.deepEquivalent(), &isMailHTMLBlockquoteElement));
|
| if (!highestBlockquote)
|
| return false;
|
|
|
| @@ -1369,7 +1370,7 @@ bool CompositeEditCommand::breakOutOfEmptyMailBlockquotedParagraph()
|
|
|
| VisiblePosition previous(caret.previous(CannotCrossEditingBoundary));
|
| // Only move forward if there's nothing before the caret, or if there's unquoted content before it.
|
| - if (enclosingNodeOfType(previous.deepEquivalent(), &isMailBlockquote))
|
| + if (enclosingNodeOfType(previous.deepEquivalent(), &isMailHTMLBlockquoteElement))
|
| return false;
|
|
|
| RefPtrWillBeRawPtr<HTMLBRElement> br = createBreakElement(document());
|
|
|