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

Unified Diff: third_party/WebKit/Source/core/dom/ModuleScript.h

Issue 2819733002: Implement ModuleScript::RunScript() (Closed)
Patch Set: Rebase Created 3 years, 8 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/dom/ModuleScript.h
diff --git a/third_party/WebKit/Source/core/dom/ModuleScript.h b/third_party/WebKit/Source/core/dom/ModuleScript.h
index 4e6c2dfa6359913d46c5658ea1f9679ff941f3ff..df85c45c370b07b1eae561bbffb1b69a249b3abe 100644
--- a/third_party/WebKit/Source/core/dom/ModuleScript.h
+++ b/third_party/WebKit/Source/core/dom/ModuleScript.h
@@ -42,7 +42,7 @@ class CORE_EXPORT ModuleScript final : public Script, public TraceWrapperBase {
}
~ModuleScript() override = default;
- ScriptModule& Record() { return record_; }
+ const ScriptModule& Record() const { return record_; }
const KURL& BaseURL() const { return base_url_; }
ModuleInstantiationState InstantiationState() const {

Powered by Google App Engine
This is Rietveld 408576698