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

Unified Diff: third_party/WebKit/Source/core/loader/LinkLoader.cpp

Issue 2440163002: Cleanup WebMIMERegistry implementation and fix LinkLoader behavior (Closed)
Patch Set: test Created 4 years, 2 months 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/core/loader/LinkLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/LinkLoader.cpp b/third_party/WebKit/Source/core/loader/LinkLoader.cpp
index 4d80182e8987cc079191209a35d856c5b810e577..d7ac4afe95f540436f5790aaa60ee820c6f41a5a 100644
--- a/third_party/WebKit/Source/core/loader/LinkLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/LinkLoader.cpp
@@ -248,8 +248,7 @@ static bool isSupportedType(Resource::Type resourceType,
case Resource::Font:
return MIMETypeRegistry::isSupportedFontMIMEType(mimeType);
case Resource::Media:
- return MIMETypeRegistry::isSupportedMediaSourceMIMEType(mimeType,
- String());
+ return MIMETypeRegistry::isSupportedMediaMIMEType(mimeType, String());
case Resource::TextTrack:
return MIMETypeRegistry::isSupportedTextTrackMIMEType(mimeType);
case Resource::Raw:
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/resources/test.webm ('k') | third_party/WebKit/Source/platform/MIMETypeRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698