| 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 ae623aa5b06f2528997fc5596fae464094d7f11b..c8c3a2516b57049e84c0c5cd450e6f2c49ccc5a3 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| @@ -640,6 +640,15 @@ bool HTMLImageElement::wouldTaintOrigin(SecurityOrigin* destinationSecurityOrigi
|
| return !image->isAccessAllowed(destinationSecurityOrigin);
|
| }
|
|
|
| +void HTMLImageElement::updateConcreteObjectSize(const FloatSize& defaultObjectSize)
|
| +{
|
| + ImageResource* image = cachedImage();
|
| + if (!image)
|
| + return;
|
| +
|
| + return image->updateConcreteObjectSize(LayoutSize(defaultObjectSize));
|
| +}
|
| +
|
| FloatSize HTMLImageElement::elementSize() const
|
| {
|
| ImageResource* image = cachedImage();
|
|
|