Revert "feat(script): add {DissimilarOriginWindow, PaintWorkletGlobalScope, TestWorkletGlobalScope}::origin"

This reverts commit 5959c2ef9b.
This commit is contained in:
yvt 2021-07-13 21:12:44 +09:00
parent c3de9b72a6
commit 90b78a193c
4 changed files with 2 additions and 19 deletions

View file

@ -84,10 +84,6 @@ impl WorkletGlobalScope {
}
}
pub fn origin(&self) -> &MutableOrigin {
self.globalscope.origin()
}
/// Get the JS context.
pub fn get_cx(&self) -> JSContext {
self.globalscope.get_cx()