Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Chrome DevTools Protocol implementation #18133

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Implement AsRef<BrowsingContextId> for TopLevel

  • Loading branch information
spinda committed Aug 21, 2017
commit 8ec06c6de69c6bf78f1512718cdc58a3af3665da
@@ -316,6 +316,12 @@ impl fmt::Display for TopLevelBrowsingContextId {
}
}

impl AsRef<BrowsingContextId> for TopLevelBrowsingContextId {
fn as_ref(&self) -> &BrowsingContextId {
&self.0
}
}

impl From<TopLevelBrowsingContextId> for BrowsingContextId {
fn from(id: TopLevelBrowsingContextId) -> BrowsingContextId {
id.0
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.