| Index: third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| index ae94760df80dc15558cfd47ca4327036312ba7e1..c72d92c839ca4bf5db570c894bc3730284b8dfd2 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| @@ -607,7 +607,7 @@ PassRefPtr<Image> HTMLImageElement::getSourceImageForCanvas(SourceImageStatus* s
|
|
|
| // We need to synthesize a container size if a layoutObject is not available to provide one.
|
| if (!layoutObject() && sourceImage->usesContainerSize())
|
| - sourceImage->setContainerSize(sourceImage->size());
|
| + sourceImage->setContainerSize(LayoutSize(sourceImage->size()));
|
|
|
| *status = NormalSourceImageStatus;
|
| return sourceImage->imageForDefaultFrame();
|
|
|