Index: third_party/WebKit/Source/core/loader/LinkLoader.h |
diff --git a/third_party/WebKit/Source/core/loader/LinkLoader.h b/third_party/WebKit/Source/core/loader/LinkLoader.h |
index 2e287556fbd51f4bdf2eb77127c65c9ad4e8ce36..bb79b8e8c50ae8a597f7bd9d1f2f5628c183ff5a 100644 |
--- a/third_party/WebKit/Source/core/loader/LinkLoader.h |
+++ b/third_party/WebKit/Source/core/loader/LinkLoader.h |
@@ -70,6 +70,7 @@ public: |
bool loadLink(const LinkRelAttribute&, CrossOriginAttributeValue, const String& type, const String& as, const KURL&, Document&, const NetworkHintsInterface&); |
enum CanLoadResources { LoadResources, DoNotLoadResources }; |
static bool loadLinkFromHeader(const String& headerValue, Document*, const NetworkHintsInterface&, CanLoadResources); |
+ static Resource::Type getTypeFromAsAttribute(const String& as, Document*); |
DECLARE_TRACE(); |