Index: third_party/WebKit/Source/core/dom/Modulator.h |
diff --git a/third_party/WebKit/Source/core/dom/Modulator.h b/third_party/WebKit/Source/core/dom/Modulator.h |
index 1abe03e68821a8076b0abc27a2add36f1e58ee27..6f923196ec8333e0e90fe4fddcd3d2ff2b5dd196 100644 |
--- a/third_party/WebKit/Source/core/dom/Modulator.h |
+++ b/third_party/WebKit/Source/core/dom/Modulator.h |
@@ -7,6 +7,7 @@ |
#include "core/CoreExport.h" |
#include "platform/heap/Handle.h" |
+#include "platform/weborigin/KURL.h" |
namespace blink { |
@@ -20,6 +21,10 @@ class LocalFrame; |
class CORE_EXPORT Modulator : public GarbageCollectedMixin { |
public: |
static Modulator* from(LocalFrame*); |
+ |
+ // https://html.spec.whatwg.org/#resolve-a-module-specifier |
+ static KURL resolveModuleSpecifier(const String& moduleRequest, |
+ const KURL& baseURL); |
}; |
} // namespace blink |