Index: third_party/WebKit/Source/core/dom/ModuleMap.h |
diff --git a/third_party/WebKit/Source/core/dom/ModuleMap.h b/third_party/WebKit/Source/core/dom/ModuleMap.h |
index a7e10bef7431e4b25aa9be955157be37af18c7a4..dcf51d17c8d02732e3add1c941c033da713bd27e 100644 |
--- a/third_party/WebKit/Source/core/dom/ModuleMap.h |
+++ b/third_party/WebKit/Source/core/dom/ModuleMap.h |
@@ -41,8 +41,8 @@ |
SingleModuleClient*); |
// Synchronously get the ModuleScript for a given URL. |
- // If the URL wasn't fetched, or is currently being fetched, this returns a |
- // nullptr. |
+ // Note: fetchSingleModuleScript of the ModuleScript must be complete before |
+ // calling this. |
ModuleScript* GetFetchedModuleScript(const KURL&) const; |
Modulator* GetModulator() { return modulator_; } |