diff options
author | mmocny@chromium.org <mmocny@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-06 20:38:50 +0000 |
---|---|---|
committer | mmocny@chromium.org <mmocny@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-06 20:38:50 +0000 |
commit | a407d6d79343ebcc9f7eedfaafb84bcd05e08e1a (patch) | |
tree | d58d4cb84e88ef9278c1bf1bdc954fc660496f52 /content/browser/renderer_host/render_widget_host.cc | |
parent | cdb285583abd42c9cee96be6ed46bab945ea0abc (diff) | |
download | chromium_src-a407d6d79343ebcc9f7eedfaafb84bcd05e08e1a.zip chromium_src-a407d6d79343ebcc9f7eedfaafb84bcd05e08e1a.tar.gz chromium_src-a407d6d79343ebcc9f7eedfaafb84bcd05e08e1a.tar.bz2 |
Removing duplicate IPC and dead code: GpuMsg_VisibilityChanged
GpuMsg_VisibilityChanged was meant to one day be used for context eviction (according to a todo), but was not completed.
The GPU is already informed of visibility changes via GpuCommandBufferMsg_SetSurfaceVisible.
BUG=None
TEST=Manual
Review URL: http://codereview.chromium.org/9135001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116727 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/render_widget_host.cc')
-rw-r--r-- | content/browser/renderer_host/render_widget_host.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/content/browser/renderer_host/render_widget_host.cc b/content/browser/renderer_host/render_widget_host.cc index e0f3137..7233def 100644 --- a/content/browser/renderer_host/render_widget_host.cc +++ b/content/browser/renderer_host/render_widget_host.cc @@ -265,11 +265,6 @@ void RenderWidgetHost::WasHidden() { // reduce its resource utilization. Send(new ViewMsg_WasHidden(routing_id_)); - GpuProcessHost::SendOnIO( - 0, - content::CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH, - new GpuMsg_VisibilityChanged(routing_id_, process()->GetID(), false)); - // Tell the RenderProcessHost we were hidden. process_->WidgetHidden(); @@ -301,11 +296,6 @@ void RenderWidgetHost::WasRestored() { } Send(new ViewMsg_WasRestored(routing_id_, needs_repainting)); - GpuProcessHost::SendOnIO( - 0, - content::CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH, - new GpuMsg_VisibilityChanged(routing_id_, process()->GetID(), true)); - process_->WidgetRestored(); bool is_visible = true; |