| Index: third_party/WebKit/Source/core/page/DragController.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/DragController.cpp b/third_party/WebKit/Source/core/page/DragController.cpp
|
| index 756212816c5b57f89b06d0f720193857c271ec90..aaaa83f6960b2fdf436e6cdf8e47147aaa787e8f 100644
|
| --- a/third_party/WebKit/Source/core/page/DragController.cpp
|
| +++ b/third_party/WebKit/Source/core/page/DragController.cpp
|
| @@ -831,7 +831,7 @@ static PassOwnPtr<DragImage> dragImageForImage(Element* element, Image* image, f
|
| }
|
|
|
| dragLocation = dragOrigin + origin;
|
| - return dragImage.release();
|
| + return dragImage;
|
| }
|
|
|
| static PassOwnPtr<DragImage> dragImageForLink(const KURL& linkURL, const String& linkText, float deviceScaleFactor, const IntPoint& mouseDraggedPoint, IntPoint& dragLoc)
|
| @@ -844,7 +844,7 @@ static PassOwnPtr<DragImage> dragImageForLink(const KURL& linkURL, const String&
|
| IntPoint dragImageOffset(-size.width() / 2, -LinkDragBorderInset);
|
| dragLoc = IntPoint(mouseDraggedPoint.x() + dragImageOffset.x(), mouseDraggedPoint.y() + dragImageOffset.y());
|
|
|
| - return dragImage.release();
|
| + return dragImage;
|
| }
|
|
|
| bool DragController::startDrag(LocalFrame* src, const DragState& state, const PlatformMouseEvent& dragEvent, const IntPoint& dragOrigin)
|
|
|