Index: third_party/WebKit/Source/web/DragClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/DragClientImpl.cpp b/third_party/WebKit/Source/web/DragClientImpl.cpp |
index d7b79796b088a0056a340dcc1598120a8f6cfd35..3a0990dc053be633acc3fee21425cef34e5b53c4 100644 |
--- a/third_party/WebKit/Source/web/DragClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/DragClientImpl.cpp |
@@ -58,9 +58,6 @@ DragDestinationAction DragClientImpl::actionMaskForDrag(DragData*) |
void DragClientImpl::startDrag(DragImage* dragImage, const IntPoint& dragImageOrigin, const IntPoint& eventPos, DataTransfer* dataTransfer, LocalFrame* frame, bool isLinkDrag) |
{ |
- // Add a ref to the frame just in case a load occurs mid-drag. |
- RawPtr<LocalFrame> frameProtector(frame); |
- |
WebDragData dragData = dataTransfer->dataObject()->toWebDragData(); |
WebDragOperationsMask dragOperationMask = static_cast<WebDragOperationsMask>(dataTransfer->sourceOperation()); |
WebImage image; |