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

Unified Diff: sky/engine/platform/graphics/Image.cpp

Issue 752463002: Remove unused WebMIMERegistry (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/platform/graphics/Image.h ('k') | sky/engine/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/graphics/Image.cpp
diff --git a/sky/engine/platform/graphics/Image.cpp b/sky/engine/platform/graphics/Image.cpp
index 371c8414d091a6a7c8db84fad725e0d2b53c7c0e..ef3150ce8bc5dc85a99034cc6079b39d76483942 100644
--- a/sky/engine/platform/graphics/Image.cpp
+++ b/sky/engine/platform/graphics/Image.cpp
@@ -73,11 +73,6 @@ PassRefPtr<Image> Image::loadPlatformResource(const char *name)
return image.release();
}
-bool Image::supportsType(const String& type)
-{
- return MIMETypeRegistry::isSupportedImageResourceMIMEType(type);
-}
-
bool Image::setData(PassRefPtr<SharedBuffer> data, bool allDataReceived)
{
m_encodedImageData = data;
« no previous file with comments | « sky/engine/platform/graphics/Image.h ('k') | sky/engine/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698