| Index: third_party/WebKit/Source/core/testing/Internals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| index e28fde49ab24ff702ed71f5f4734960e3c902cff..f03d960a66ba21e48c12140252ac766270ac9776 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -2781,6 +2781,16 @@ String Internals::getImageSourceURL(Element* element) {
|
| return element->ImageSourceURL();
|
| }
|
|
|
| +void Internals::forceImageReload(Element* element,
|
| + ExceptionState& exception_state) {
|
| + if (!element || !isHTMLImageElement(*element)) {
|
| + exception_state.ThrowDOMException(
|
| + kInvalidAccessError, "The element should be HTMLImageElement.");
|
| + }
|
| +
|
| + toHTMLImageElement(*element).ForceReload();
|
| +}
|
| +
|
| String Internals::selectMenuListText(HTMLSelectElement* select) {
|
| DCHECK(select);
|
| LayoutObject* layout_object = select->GetLayoutObject();
|
|
|