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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptModule.h

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/bindings/core/v8/ScriptModule.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptModule.h b/third_party/WebKit/Source/bindings/core/v8/ScriptModule.h
index 12aa17b98b3cb0609fd9bc2eed2cc3a0fd75a015..05a79624a86083b4f98b9957d456c71515c3fc09 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptModule.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptModule.h
@@ -11,6 +11,7 @@
#include "platform/loader/fetch/AccessControlStatus.h"
#include "platform/wtf/Allocator.h"
#include "platform/wtf/Vector.h"
+#include "platform/wtf/text/TextPosition.h"
#include "platform/wtf/text/WTFString.h"
#include "v8/include/v8.h"
@@ -27,10 +28,12 @@ class CORE_EXPORT ScriptModule final {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
- static ScriptModule Compile(v8::Isolate*,
- const String& source,
- const String& file_name,
- AccessControlStatus);
+ static ScriptModule Compile(
+ v8::Isolate*,
+ const String& source,
+ const String& file_name,
+ AccessControlStatus,
+ const TextPosition& start_position = TextPosition::MinimumPosition());
// TODO(kouhei): Remove copy ctor
ScriptModule();

Powered by Google App Engine
This is Rietveld 408576698