Chromium Code Reviews| Index: Source/web/RemoteFrameClientImpl.cpp |
| diff --git a/Source/web/RemoteFrameClientImpl.cpp b/Source/web/RemoteFrameClientImpl.cpp |
| index a2994e71cb2f15f2ddc09e27d439474fba297eb6..c9ef4e99d1b8775d79c783535f71188fddbd8b1f 100644 |
| --- a/Source/web/RemoteFrameClientImpl.cpp |
| +++ b/Source/web/RemoteFrameClientImpl.cpp |
| @@ -35,7 +35,7 @@ void RemoteFrameClientImpl::willBeDetached() |
| { |
| } |
| -void RemoteFrameClientImpl::detached() |
| +void RemoteFrameClientImpl::detached(DetachType type) |
| { |
| // Alert the client that the frame is being detached. |
| RefPtrWillBeRawPtr<WebRemoteFrameImpl> protector(m_webFrame); |
| @@ -44,7 +44,7 @@ void RemoteFrameClientImpl::detached() |
| if (!client) |
| return; |
| - client->frameDetached(); |
| + client->frameDetached(static_cast<WebRemoteFrameClient::DetachType>(type)); |
|
dcheng
2015/06/04 00:58:23
There should probably be something in AssertMatchi
lfg
2015/06/04 19:16:58
Done.
|
| // Clear our reference to RemoteFrame at the very end, in case the client |
| // refers to it. |
| m_webFrame->setCoreFrame(nullptr); |