OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/renderer_host/render_message_filter.h" | 5 #include "content/browser/renderer_host/render_message_filter.h" |
6 | 6 |
| 7 #include <errno.h> |
| 8 #include <string.h> |
| 9 |
7 #include <map> | 10 #include <map> |
8 | 11 |
9 #include "base/bind.h" | 12 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
11 #include "base/command_line.h" | 14 #include "base/command_line.h" |
12 #include "base/debug/alias.h" | 15 #include "base/debug/alias.h" |
13 #include "base/numerics/safe_math.h" | 16 #include "base/numerics/safe_math.h" |
14 #include "base/strings/sys_string_conversions.h" | 17 #include "base/strings/sys_string_conversions.h" |
15 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
16 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
688 void RenderMessageFilter::OnDeletedGpuMemoryBuffer( | 691 void RenderMessageFilter::OnDeletedGpuMemoryBuffer( |
689 gfx::GpuMemoryBufferId id, | 692 gfx::GpuMemoryBufferId id, |
690 const gpu::SyncToken& sync_token) { | 693 const gpu::SyncToken& sync_token) { |
691 DCHECK(BrowserGpuMemoryBufferManager::current()); | 694 DCHECK(BrowserGpuMemoryBufferManager::current()); |
692 | 695 |
693 BrowserGpuMemoryBufferManager::current()->ChildProcessDeletedGpuMemoryBuffer( | 696 BrowserGpuMemoryBufferManager::current()->ChildProcessDeletedGpuMemoryBuffer( |
694 id, PeerHandle(), render_process_id_, sync_token); | 697 id, PeerHandle(), render_process_id_, sync_token); |
695 } | 698 } |
696 | 699 |
697 } // namespace content | 700 } // namespace content |
OLD | NEW |