Destroy CefResponseManager on the correct thread (issue #570).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@632 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-05-18 21:18:01 +00:00
parent 9c9711c2d8
commit 8b1748bbf5
4 changed files with 18 additions and 11 deletions

View File

@ -13,10 +13,10 @@
#include "include/cef_browser.h"
#include "include/cef_client.h"
#include "libcef/common/response_manager.h"
#include "libcef/common/tracker.h"
#include "libcef/renderer/frame_impl.h"
#include "base/memory/scoped_ptr.h"
#include "content/public/renderer/render_view_observer.h"
class GURL;
@ -24,6 +24,7 @@ struct CefMsg_LoadRequest_Params;
struct Cef_Request_Params;
struct Cef_Response_Params;
class CefContentRendererClient;
class CefResponseManager;
namespace base {
class ListValue;
@ -125,7 +126,7 @@ class CefBrowserImpl : public CefBrowser,
FrameObjectMap frame_objects_;
// Manages response registrations.
CefResponseManager response_manager_;
scoped_ptr<CefResponseManager> response_manager_;
IMPLEMENT_REFCOUNTING(CefBrowserImpl);
DISALLOW_COPY_AND_ASSIGN(CefBrowserImpl);