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

Unified Diff: third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp

Issue 2885203006: [DevTools] inline modules should have correct text offset (Closed)
Patch Set: a Created 3 years, 7 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/loader/modulescript/ModuleScriptLoaderTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp b/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
index 5d3f4173a87a97973717f5d417f06b512c425b16..ca9c973906442473deff7aba70d813025bd1d1a0 100644
--- a/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
+++ b/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
@@ -64,10 +64,10 @@ class ModuleScriptLoaderTestModulator final : public DummyModulator {
return security_origin_.Get();
}
- ScriptModule CompileModule(
- const String& script,
- const String& url_str,
- AccessControlStatus access_control_status) override {
+ ScriptModule CompileModule(const String& script,
+ const String& url_str,
+ AccessControlStatus access_control_status,
+ const TextPosition& position) override {
ScriptState::Scope scope(script_state_.Get());
return ScriptModule::Compile(script_state_->GetIsolate(),
"export default 'foo';", "",
« no previous file with comments | « third_party/WebKit/Source/core/dom/ScriptLoader.cpp ('k') | third_party/WebKit/Source/core/testing/DummyModulator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698