Index: Source/core/editing/BreakBlockquoteCommand.cpp |
diff --git a/Source/core/editing/BreakBlockquoteCommand.cpp b/Source/core/editing/BreakBlockquoteCommand.cpp |
index f8c53f933691d0bb982a8a70034c730096dd74bc..4245699a3c879add87bb29e510f058380386aa75 100644 |
--- a/Source/core/editing/BreakBlockquoteCommand.cpp |
+++ b/Source/core/editing/BreakBlockquoteCommand.cpp |
@@ -38,7 +38,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-BreakBlockquoteCommand::BreakBlockquoteCommand(Document *document) |
+BreakBlockquoteCommand::BreakBlockquoteCommand(Document& document) |
: CompositeEditCommand(document) |
{ |
} |
@@ -71,7 +71,7 @@ void BreakBlockquoteCommand::doApply() |
if (!topBlockquote || !topBlockquote->parentNode() || !topBlockquote->isElementNode()) |
return; |
- RefPtr<Element> breakNode = createBreakElement(document()); |
+ RefPtr<Element> breakNode = createBreakElement(&document()); |
bool isLastVisPosInNode = isLastVisiblePositionInNode(visiblePos, topBlockquote); |