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

Unified Diff: third_party/WebKit/Source/core/fetch/DocumentResource.h

Issue 1706243002: Don't use SVG resource documents with an unrecognized MIME-type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/fetch/DocumentResource.h
diff --git a/third_party/WebKit/Source/core/fetch/DocumentResource.h b/third_party/WebKit/Source/core/fetch/DocumentResource.h
index fbbf7e54b37db13bbf51c028e4d9a2652b2c6060..891a070ecb70d7560f198938d096fd10bc1b7da0 100644
--- a/third_party/WebKit/Source/core/fetch/DocumentResource.h
+++ b/third_party/WebKit/Source/core/fetch/DocumentResource.h
@@ -60,6 +60,7 @@ private:
};
DocumentResource(const ResourceRequest&, Type);
+ bool mimeTypeAllowed() const;
PassRefPtrWillBeRawPtr<Document> createDocument(const KURL&);
RefPtrWillBeMember<Document> m_document;

Powered by Google App Engine
This is Rietveld 408576698