Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(673)

Unified Diff: third_party/WebKit/Source/platform/graphics/Image.h

Issue 2588103002: Simplify Image::isTextureBacked() (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/Image.h
diff --git a/third_party/WebKit/Source/platform/graphics/Image.h b/third_party/WebKit/Source/platform/graphics/Image.h
index e6f57e331354879c69dd7ab9527a354ee9dc8a82..773e56e9947b59bf68e7b0320cbb4ddcf6d1f19c 100644
--- a/third_party/WebKit/Source/platform/graphics/Image.h
+++ b/third_party/WebKit/Source/platform/graphics/Image.h
@@ -84,7 +84,7 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> {
virtual bool currentFrameIsComplete() { return false; }
virtual bool currentFrameIsLazyDecoded() { return false; }
- virtual bool isTextureBacked();
+ virtual bool isTextureBacked() const { return false; }
// Derived classes should override this if they can assure that the current
// image frame contains only resources from its own security origin.

Powered by Google App Engine
This is Rietveld 408576698