diff options
author | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-16 21:51:46 +0000 |
---|---|---|
committer | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-16 21:51:46 +0000 |
commit | 74ce1adb65e73eb76fe37326cf754acfc246380a (patch) | |
tree | 53c55f1b4905f5e0bb1faa843a14ff98fd02a852 /content/browser/renderer_host/render_process_host_impl.h | |
parent | 3fbd9c17a738598053f5ad5cba746370075166cb (diff) | |
download | chromium_src-74ce1adb65e73eb76fe37326cf754acfc246380a.zip chromium_src-74ce1adb65e73eb76fe37326cf754acfc246380a.tar.gz chromium_src-74ce1adb65e73eb76fe37326cf754acfc246380a.tar.bz2 |
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
Diffstat (limited to 'content/browser/renderer_host/render_process_host_impl.h')
-rw-r--r-- | content/browser/renderer_host/render_process_host_impl.h | 5 |
1 files changed, 0 insertions, 5 deletions
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<IPC::Channel::Listener> 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_; |