[inspector] removed deprecated ScriptOrigin cstor with is_embedder_debug_script
BUG=none R=yangguo@chromium.org Review-Url: https://codereview.chromium.org/2505823002 Cr-Commit-Position: refs/heads/master@{#41162}
This commit is contained in:
parent
f0726837af
commit
21091c327b
28
include/v8.h
28
include/v8.h
@ -992,17 +992,6 @@ class ScriptOrigin {
|
|||||||
Local<Value> source_map_url = Local<Value>(),
|
Local<Value> source_map_url = Local<Value>(),
|
||||||
Local<Boolean> resource_is_opaque = Local<Boolean>());
|
Local<Boolean> resource_is_opaque = Local<Boolean>());
|
||||||
|
|
||||||
V8_DEPRECATE_SOON(
|
|
||||||
"Use version without resource_is_embedder_debug_script flag",
|
|
||||||
V8_INLINE ScriptOrigin(Local<Value> resource_name,
|
|
||||||
Local<Integer> resource_line_offset,
|
|
||||||
Local<Integer> resource_column_offset,
|
|
||||||
Local<Boolean> resource_is_shared_cross_origin,
|
|
||||||
Local<Integer> script_id,
|
|
||||||
Local<Boolean> resource_is_embedder_debug_script,
|
|
||||||
Local<Value> source_map_url,
|
|
||||||
Local<Boolean> resource_is_opaque));
|
|
||||||
|
|
||||||
V8_INLINE Local<Value> ResourceName() const;
|
V8_INLINE Local<Value> ResourceName() const;
|
||||||
V8_INLINE Local<Integer> ResourceLineOffset() const;
|
V8_INLINE Local<Integer> ResourceLineOffset() const;
|
||||||
V8_INLINE Local<Integer> ResourceColumnOffset() const;
|
V8_INLINE Local<Integer> ResourceColumnOffset() const;
|
||||||
@ -8852,23 +8841,6 @@ int FunctionCallbackInfo<T>::Length() const {
|
|||||||
return length_;
|
return length_;
|
||||||
}
|
}
|
||||||
|
|
||||||
ScriptOrigin::ScriptOrigin(Local<Value> resource_name,
|
|
||||||
Local<Integer> resource_line_offset,
|
|
||||||
Local<Integer> resource_column_offset,
|
|
||||||
Local<Boolean> resource_is_shared_cross_origin,
|
|
||||||
Local<Integer> script_id,
|
|
||||||
Local<Boolean> resource_is_embedder_debug_script,
|
|
||||||
Local<Value> source_map_url,
|
|
||||||
Local<Boolean> resource_is_opaque)
|
|
||||||
: resource_name_(resource_name),
|
|
||||||
resource_line_offset_(resource_line_offset),
|
|
||||||
resource_column_offset_(resource_column_offset),
|
|
||||||
options_(!resource_is_shared_cross_origin.IsEmpty() &&
|
|
||||||
resource_is_shared_cross_origin->IsTrue(),
|
|
||||||
!resource_is_opaque.IsEmpty() && resource_is_opaque->IsTrue()),
|
|
||||||
script_id_(script_id),
|
|
||||||
source_map_url_(source_map_url) {}
|
|
||||||
|
|
||||||
ScriptOrigin::ScriptOrigin(Local<Value> resource_name,
|
ScriptOrigin::ScriptOrigin(Local<Value> resource_name,
|
||||||
Local<Integer> resource_line_offset,
|
Local<Integer> resource_line_offset,
|
||||||
Local<Integer> resource_column_offset,
|
Local<Integer> resource_column_offset,
|
||||||
|
Loading…
Reference in New Issue
Block a user