Chromium Code Reviews| Index: content/shell/test_runner/web_view_test_proxy.cc |
| diff --git a/content/shell/test_runner/web_view_test_proxy.cc b/content/shell/test_runner/web_view_test_proxy.cc |
| index 140400368a580530b646ff4ab342f4d76ccd43de..3fdc4561976e58938a37b020849e2000f8e7c5e8 100644 |
| --- a/content/shell/test_runner/web_view_test_proxy.cc |
| +++ b/content/shell/test_runner/web_view_test_proxy.cc |
| @@ -32,6 +32,8 @@ WebViewTestProxyBase::WebViewTestProxyBase() |
| WebViewTestProxyBase::~WebViewTestProxyBase() { |
| test_interfaces_->WindowClosed(this); |
| + if (test_interfaces_->GetDelegate() == delegate_) |
| + test_interfaces_->SetDelegate(nullptr); |
|
tasak
2017/03/07 03:06:01
I think, this breaks "--single-process".
Received
|
| } |
| void WebViewTestProxyBase::SetInterfaces(WebTestInterfaces* interfaces) { |