Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/Image.cpp |
| diff --git a/third_party/WebKit/Source/platform/graphics/Image.cpp b/third_party/WebKit/Source/platform/graphics/Image.cpp |
| index 64d706b5fa2d3c836a6bcfccdd559fb7dae7c9f7..2214f5b3c41df078ed9c1744751d162c543a48da 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/Image.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/Image.cpp |
| @@ -274,4 +274,9 @@ PassRefPtr<Image> Image::imageForDefaultFrame() |
| return image.release(); |
| } |
| +bool Image::isTextureBacked() |
| +{ |
| + return imageForCurrentFrame()->isTextureBacked(); |
|
pdr.
2015/11/11 06:19:45
SVGImage::imageForCurrentFrame actually draws a ne
Justin Novosad
2015/11/11 15:19:45
This will never get called on an SVGImage (which i
|
| +} |
| + |
| } // namespace blink |