| 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> | 7 #include <errno.h> |
| 8 #include <string.h> | 8 #include <string.h> |
| 9 |
| 9 #include <map> | 10 #include <map> |
| 10 #include <utility> | 11 #include <utility> |
| 11 | 12 |
| 12 #include "base/bind.h" | 13 #include "base/bind.h" |
| 13 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
| 14 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 15 #include "base/debug/alias.h" | 16 #include "base/debug/alias.h" |
| 16 #include "base/macros.h" | 17 #include "base/macros.h" |
| 17 #include "base/numerics/safe_math.h" | 18 #include "base/numerics/safe_math.h" |
| 18 #include "base/strings/sys_string_conversions.h" | 19 #include "base/strings/sys_string_conversions.h" |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 void RenderMessageFilter::OnDeletedGpuMemoryBuffer( | 680 void RenderMessageFilter::OnDeletedGpuMemoryBuffer( |
| 680 gfx::GpuMemoryBufferId id, | 681 gfx::GpuMemoryBufferId id, |
| 681 const gpu::SyncToken& sync_token) { | 682 const gpu::SyncToken& sync_token) { |
| 682 DCHECK(BrowserGpuMemoryBufferManager::current()); | 683 DCHECK(BrowserGpuMemoryBufferManager::current()); |
| 683 | 684 |
| 684 BrowserGpuMemoryBufferManager::current()->ChildProcessDeletedGpuMemoryBuffer( | 685 BrowserGpuMemoryBufferManager::current()->ChildProcessDeletedGpuMemoryBuffer( |
| 685 id, PeerHandle(), render_process_id_, sync_token); | 686 id, PeerHandle(), render_process_id_, sync_token); |
| 686 } | 687 } |
| 687 | 688 |
| 688 } // namespace content | 689 } // namespace content |
| OLD | NEW |