X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fpage%2FDragData.cpp;h=84157d40da512dfda7dee136f4f38684ff4b92d5;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=789c462909d69e764111c51ec621de94bdd478c1;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/page/DragData.cpp b/src/third_party/WebKit/Source/core/page/DragData.cpp index 789c462..84157d4 100644 --- a/src/third_party/WebKit/Source/core/page/DragData.cpp +++ b/src/third_party/WebKit/Source/core/page/DragData.cpp @@ -33,7 +33,6 @@ #include "core/dom/Range.h" #include "core/editing/markup.h" #include "core/frame/LocalFrame.h" -#include "modules/filesystem/DraggedIsolatedFileSystem.h" #include "platform/FileMetadata.h" #include "platform/clipboard/ClipboardMimeTypes.h" #include "platform/weborigin/KURL.h" @@ -132,7 +131,7 @@ bool DragData::containsCompatibleContent() const || containsFiles(); } -PassRefPtr DragData::asFragment(LocalFrame* frame, PassRefPtr, bool, bool&) const +PassRefPtr DragData::asFragment(LocalFrame* frame, PassRefPtrWillBeRawPtr, bool, bool&) const { /* * Order is richest format first. On OSX this is: @@ -163,10 +162,7 @@ PassRefPtr DragData::asFragment(LocalFrame* frame, PassRefPtr< String DragData::droppedFileSystemId() const { - DraggedIsolatedFileSystem* filesystem = DraggedIsolatedFileSystem::from(m_platformDragData); - if (!filesystem) - return String(); - return filesystem->filesystemId(); + return m_platformDragData->filesystemId(); } } // namespace WebCore