| 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 70493d61143cdd663012e717edd69c1d3716de71..672b9410852966e027c521a74dbb64443e40fb55 100644
|
| --- a/third_party/WebKit/Source/core/page/DragController.cpp
|
| +++ b/third_party/WebKit/Source/core/page/DragController.cpp
|
| @@ -705,9 +705,6 @@ static Image* getImage(Element* element)
|
| {
|
| ASSERT(element);
|
| ImageResource* cachedImage = getImageResource(element);
|
| - // Don't use cachedImage->imageForLayoutObject() here as that may return BitmapImages for cached SVG Images.
|
| - // Users of getImage() want access to the SVGImage, in order to figure out the filename extensions,
|
| - // which would be empty when asking the cached BitmapImages.
|
| return (cachedImage && !cachedImage->errorOccurred()) ?
|
| cachedImage->image() : nullptr;
|
| }
|
|
|