summaryrefslogtreecommitdiff
path: root/core/inspector.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-01-25 15:36:10 +0100
committerGitHub <noreply@github.com>2023-01-25 15:36:10 +0100
commit8b7023bc7e11e0ddfd0363a803a129ed97907be5 (patch)
treee20562103e9d3a5aa3b47126bea1a773072792fe /core/inspector.rs
parente2d75491d5fc6fbac67da89c7350c4c9ca99d8e9 (diff)
Revert "chore: upgrade rusty_v8 to 0.62.0 (#17200)" (#17523)
This reverts commit e2d75491d5fc6fbac67da89c7350c4c9ca99d8e9.
Diffstat (limited to 'core/inspector.rs')
-rw-r--r--core/inspector.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/core/inspector.rs b/core/inspector.rs
index c83784fe3..2b03d663d 100644
--- a/core/inspector.rs
+++ b/core/inspector.rs
@@ -111,16 +111,6 @@ impl v8::inspector::V8InspectorClientImpl for JsRuntimeInspector {
&self.v8_inspector_client
}
- unsafe fn base_ptr(
- this: *const Self,
- ) -> *const v8::inspector::V8InspectorClientBase
- where
- Self: Sized,
- {
- // SAFETY: this pointer is valid for the whole lifetime of inspector
- unsafe { std::ptr::addr_of!((*this).v8_inspector_client) }
- }
-
fn base_mut(&mut self) -> &mut v8::inspector::V8InspectorClientBase {
&mut self.v8_inspector_client
}
@@ -657,14 +647,6 @@ impl v8::inspector::ChannelImpl for InspectorSession {
&self.v8_channel
}
- unsafe fn base_ptr(this: *const Self) -> *const v8::inspector::ChannelBase
- where
- Self: Sized,
- {
- // SAFETY: this pointer is valid for the whole lifetime of inspector
- unsafe { std::ptr::addr_of!((*this).v8_channel) }
- }
-
fn base_mut(&mut self) -> &mut v8::inspector::ChannelBase {
&mut self.v8_channel
}