| Index: Source/core/page/DragController.cpp
|
| diff --git a/Source/core/page/DragController.cpp b/Source/core/page/DragController.cpp
|
| index f4ceae5b7dd582b27bcddab1ca5e71a9e56264a5..ccd92fa96649f032f6193def1dd38b3cf3e41458 100644
|
| --- a/Source/core/page/DragController.cpp
|
| +++ b/Source/core/page/DragController.cpp
|
| @@ -169,9 +169,9 @@ static PassRefPtr<DocumentFragment> documentFragmentFromDragData(DragData* dragD
|
| title = url;
|
| }
|
| RefPtr<Node> anchorText = document->createTextNode(title);
|
| - anchor->appendChild(anchorText, IGNORE_EXCEPTION_STATE);
|
| + anchor->appendChild(anchorText, IGNORE_EXCEPTION);
|
| RefPtr<DocumentFragment> fragment = document->createDocumentFragment();
|
| - fragment->appendChild(anchor, IGNORE_EXCEPTION_STATE);
|
| + fragment->appendChild(anchor, IGNORE_EXCEPTION);
|
| return fragment.get();
|
| }
|
| }
|
| @@ -443,7 +443,7 @@ bool DragController::dispatchTextInputEventFor(Frame* innerFrame, DragData* drag
|
| ASSERT(m_page->dragCaretController()->hasCaret());
|
| String text = m_page->dragCaretController()->isContentRichlyEditable() ? "" : dragData->asPlainText(innerFrame);
|
| Node* target = innerFrame->editor()->findEventTargetFrom(m_page->dragCaretController()->caretPosition());
|
| - return target->dispatchEvent(TextEvent::createForDrop(innerFrame->domWindow(), text), IGNORE_EXCEPTION_STATE);
|
| + return target->dispatchEvent(TextEvent::createForDrop(innerFrame->domWindow(), text), IGNORE_EXCEPTION);
|
| }
|
|
|
| bool DragController::concludeEditDrag(DragData* dragData)
|
| @@ -686,7 +686,7 @@ static void prepareClipboardForImageDrag(Frame* source, Clipboard* clipboard, El
|
| {
|
| if (node->isContentRichlyEditable()) {
|
| RefPtr<Range> range = source->document()->createRange();
|
| - range->selectNode(node, ASSERT_NO_EXCEPTION_STATE);
|
| + range->selectNode(node, ASSERT_NO_EXCEPTION);
|
| source->selection()->setSelection(VisibleSelection(range.get(), DOWNSTREAM));
|
| }
|
| clipboard->declareAndWriteDragImage(node, !linkURL.isEmpty() ? linkURL : imageURL, label, source);
|
|
|