Index: Source/web/DragClientImpl.cpp |
diff --git a/Source/web/DragClientImpl.cpp b/Source/web/DragClientImpl.cpp |
index 23876d1858083225d81161cfe7be0ca93542a357..9b75f1223215a8a08b50709c8356886798b5b8e6 100644 |
--- a/Source/web/DragClientImpl.cpp |
+++ b/Source/web/DragClientImpl.cpp |
@@ -61,7 +61,7 @@ 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. |
- RefPtr<LocalFrame> frameProtector = frame; |
+ RefPtrWillBeRawPtr<LocalFrame> frameProtector(frame); |
WebDragData dragData(dataTransfer->dataObject()); |
WebDragOperationsMask dragOperationMask = static_cast<WebDragOperationsMask>(dataTransfer->sourceOperation()); |