From 74ce1adb65e73eb76fe37326cf754acfc246380a Mon Sep 17 00:00:00 2001 From: "creis@chromium.org" Date: Fri, 16 Dec 2011 21:51:46 +0000 Subject: Make page IDs be specific to a RenderView rather than global to its process. This avoids races that cause the browser to kill the renderer. BUG=106616 TEST=Restore Chrome with an extension's options page showing. Review URL: http://codereview.chromium.org/8910020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114862 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/renderer_host/render_process_host_impl.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'content/browser/renderer_host/render_process_host_impl.h') diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h index d9dcde6..d700aa3 100644 --- a/content/browser/renderer_host/render_process_host_impl.h +++ b/content/browser/renderer_host/render_process_host_impl.h @@ -74,7 +74,6 @@ class CONTENT_EXPORT RenderProcessHostImpl virtual content::BrowserContext* GetBrowserContext() const OVERRIDE; virtual int GetID() const OVERRIDE; virtual bool HasConnection() const OVERRIDE; - virtual void UpdateMaxPageID(int32 page_id) OVERRIDE; virtual IPC::Channel::Listener* GetListenerByID(int routing_id) OVERRIDE; virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE; virtual bool IgnoreInputEvents() const OVERRIDE; @@ -92,7 +91,6 @@ class CONTENT_EXPORT RenderProcessHostImpl virtual bool FastShutdownForPageCount(size_t count) OVERRIDE; virtual bool FastShutdownStarted() const OVERRIDE; virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; - virtual void UpdateAndSendMaxPageID(int32 page_id) OVERRIDE; // IPC::Channel::Sender via RenderProcessHost. virtual bool Send(IPC::Message* msg) OVERRIDE; @@ -135,9 +133,6 @@ class CONTENT_EXPORT RenderProcessHostImpl // delete ourselves IDMap listeners_; - // The maximum page ID we've ever seen from the renderer process. - int32 max_page_id_; - // True if fast shutdown has been performed on this RPH. bool fast_shutdown_started_; -- cgit v1.1