From 5e943e1456fd01e7348610233e16793a703df7db Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 9 Jun 2015 11:09:16 +0800 Subject: [PATCH] view_ needs to be destroyed after web_contents_ --- brightray/browser/inspectable_web_contents_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brightray/browser/inspectable_web_contents_impl.h b/brightray/browser/inspectable_web_contents_impl.h index 5df435b15e..6a28346040 100644 --- a/brightray/browser/inspectable_web_contents_impl.h +++ b/brightray/browser/inspectable_web_contents_impl.h @@ -160,9 +160,9 @@ class InspectableWebContentsImpl : PendingRequestsMap pending_requests_; InspectableWebContentsDelegate* delegate_; // weak references. - scoped_ptr view_; scoped_ptr web_contents_; scoped_ptr devtools_web_contents_; + scoped_ptr view_; base::WeakPtrFactory weak_factory_;