OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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/android/in_process/synchronous_compositor_context_prov
ider.h" | 5 #include "content/browser/android/in_process/synchronous_compositor_context_prov
ider.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 SynchronousCompositorContextProvider::SynchronousCompositorContextProvider( | 9 SynchronousCompositorContextProvider::SynchronousCompositorContextProvider( |
10 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context3d, | 10 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context3d, |
11 CommandBufferContextType type) | 11 CommandBufferContextType type) |
12 : ContextProviderCommandBuffer(context3d.Pass(), type) {} | 12 : ContextProviderCommandBuffer(context3d.Pass(), type) {} |
13 | 13 |
14 SynchronousCompositorContextProvider::~SynchronousCompositorContextProvider() {} | 14 SynchronousCompositorContextProvider::~SynchronousCompositorContextProvider() {} |
15 | 15 |
16 void SynchronousCompositorContextProvider::SetMemoryPolicyChangedCallback( | |
17 const MemoryPolicyChangedCallback& memory_policy_changed_callback) { | |
18 // Intentional no-op. | |
19 } | |
20 | |
21 } // namespace content | 16 } // namespace content |
OLD | NEW |