Chromium Code Reviews| Index: third_party/WebKit/Source/core/svg/SVGImageElement.cpp |
| diff --git a/third_party/WebKit/Source/core/svg/SVGImageElement.cpp b/third_party/WebKit/Source/core/svg/SVGImageElement.cpp |
| index 99f083eae214dccc6296751d4afa06fb065655c7..d224e051dc6a346534c75b456fd0c91d7a0e0645 100644 |
| --- a/third_party/WebKit/Source/core/svg/SVGImageElement.cpp |
| +++ b/third_party/WebKit/Source/core/svg/SVGImageElement.cpp |
| @@ -195,6 +195,10 @@ Node::InsertionNotificationRequest SVGImageElement::insertedInto( |
| return InsertionDone; |
| } |
| +FloatSize SVGImageElement::sourceDefaultSize() { |
| + return FloatSize(0, 0); |
|
fs
2017/03/07 22:01:25
To be somewhat equivalent with the HTMLImageElemen
fserb
2017/03/08 18:31:59
Thanks for the code snippet, I'll implement it lik
fs
2017/03/08 18:57:16
Ok (ImageBitmapSource though, right?). Codesearch
fserb
2017/03/21 19:15:22
yep. Only for shapedetection, (which I assumed is
fs
2017/03/21 21:05:41
Acknowledged.
|
| +} |
| + |
| const AtomicString SVGImageElement::imageSourceURL() const { |
| return AtomicString(hrefString()); |
| } |