| Index: Source/core/editing/CreateLinkCommand.cpp
|
| diff --git a/Source/core/editing/CreateLinkCommand.cpp b/Source/core/editing/CreateLinkCommand.cpp
|
| index 4ac85b7300d949d5ec43610b22e13b287a65cff8..326b0063edfd8090fe63f29efc8917ba43fe1229 100644
|
| --- a/Source/core/editing/CreateLinkCommand.cpp
|
| +++ b/Source/core/editing/CreateLinkCommand.cpp
|
| @@ -42,7 +42,7 @@ void CreateLinkCommand::doApply()
|
| if (endingSelection().isNone())
|
| return;
|
|
|
| - RefPtr<HTMLAnchorElement> anchorElement = HTMLAnchorElement::create(&document());
|
| + RefPtr<HTMLAnchorElement> anchorElement = HTMLAnchorElement::create(document());
|
| anchorElement->setHref(m_url);
|
|
|
| if (endingSelection().isRange())
|
|
|