Skip to content

Commit

Permalink
Revert of [DevTools] Fix potential crash in RenderFrameDevToolsAgentH…
Browse files Browse the repository at this point in the history
…ost (patchset #1 id:1 of https://codereview.chromium.org/1132913004/)

Reason for revert:
See crbug.com/489135

Original issue's description:
> [DevTools] Fix potential crash in RenderFrameDevToolsAgentHost
>
> BUG=483693
>
> Committed: https://crrev.com/1771428fefada2d24fab5970b915b941a5014cc1
> Cr-Commit-Position: refs/heads/master@{#330286}

TBR=dgozman@chromium.org,pfeldman@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=483693

Review URL: https://codereview.chromium.org/1140603004

Cr-Commit-Position: refs/heads/master@{#330348}
  • Loading branch information
vkuzkokov authored and Commit bot committed May 18, 2015
1 parent b1e4962 commit 3b641d5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ void RenderFrameDevToolsAgentHost::SetRenderFrameHost(RenderFrameHost* rfh) {
void RenderFrameDevToolsAgentHost::ClearRenderFrameHost() {
DCHECK(render_frame_host_);
render_frame_host_ = nullptr;
WebContentsObserver::Observe(nullptr);
dom_handler_->SetRenderFrameHost(nullptr);
if (emulation_handler_)
emulation_handler_->SetRenderFrameHost(nullptr);
Expand Down

0 comments on commit 3b641d5

Please sign in to comment.