| Index: third_party/WebKit/Source/core/svg/SVGImageElement.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGImageElement.h b/third_party/WebKit/Source/core/svg/SVGImageElement.h
|
| index 7da4824212e3148a8c16cdf5de5c0a7eefdf059f..744fc6ecadac60fd8f3e94308512490b7550bf4b 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGImageElement.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGImageElement.h
|
| @@ -21,6 +21,7 @@
|
| #ifndef SVGImageElement_h
|
| #define SVGImageElement_h
|
|
|
| +#include "bindings/core/v8/ActiveScriptWrappable.h"
|
| #include "core/SVGNames.h"
|
| #include "core/svg/SVGAnimatedBoolean.h"
|
| #include "core/svg/SVGAnimatedLength.h"
|
| @@ -32,8 +33,7 @@
|
|
|
| namespace blink {
|
|
|
| -class SVGImageElement final : public SVGGraphicsElement,
|
| - public SVGURIReference {
|
| +class SVGImageElement final : public SVGGraphicsElement, public SVGURIReference, public ActiveScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| USING_GARBAGE_COLLECTED_MIXIN(SVGImageElement);
|
| public:
|
| @@ -48,6 +48,8 @@ public:
|
| SVGAnimatedLength* height() const { return m_height.get(); }
|
| SVGAnimatedPreserveAspectRatio* preserveAspectRatio() { return m_preserveAspectRatio.get(); }
|
|
|
| + bool hasPendingActivity() const final { return imageLoader().hasPendingActivity(); }
|
| +
|
| // Exposed for testing.
|
| ImageResource* cachedImage() const { return imageLoader().image(); }
|
|
|
|
|