| Index: Source/core/platform/DragData.cpp
|
| diff --git a/Source/core/platform/DragData.cpp b/Source/core/platform/DragData.cpp
|
| index 90e46055d668cfc52ad7432b35a7cf7e74a02076..ce0d1425355a574197ca54b3a0b0c51cb674c547 100644
|
| --- a/Source/core/platform/DragData.cpp
|
| +++ b/Source/core/platform/DragData.cpp
|
| @@ -156,7 +156,8 @@ PassRefPtr<DocumentFragment> DragData::asFragment(Frame* frame, PassRefPtr<Range
|
| String html;
|
| KURL baseURL;
|
| m_platformDragData->htmlAndBaseURL(html, baseURL);
|
| - if (RefPtr<DocumentFragment> fragment = createFragmentFromMarkup(frame->document(), html, baseURL, DisallowScriptingAndPluginContent))
|
| + ASSERT(frame->document());
|
| + if (RefPtr<DocumentFragment> fragment = createFragmentFromMarkup(*frame->document(), html, baseURL, DisallowScriptingAndPluginContent))
|
| return fragment.release();
|
| }
|
|
|
|
|