| 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..cc5c181e5526baecfc5d87e1255dbdd7702f87ee 100644
|
| --- a/third_party/WebKit/Source/core/page/DragController.cpp
|
| +++ b/third_party/WebKit/Source/core/page/DragController.cpp
|
| @@ -708,6 +708,8 @@ static Image* getImage(Element* 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.
|
| +
|
| + // TODO(davve): What now that imageForLayoutObject doesn't exist?
|
| return (cachedImage && !cachedImage->errorOccurred()) ?
|
| cachedImage->image() : nullptr;
|
| }
|
|
|