OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "content/browser/android/in_process/synchronous_compositor_context_prov ider.h" | |
6 | |
7 namespace content { | |
8 | |
9 SynchronousCompositorContextProvider::SynchronousCompositorContextProvider( | |
10 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context3d, | |
11 CommandBufferContextType type) | |
12 : ContextProviderCommandBuffer(context3d.Pass(), type, false) {} | |
13 | |
14 SynchronousCompositorContextProvider::~SynchronousCompositorContextProvider() {} | |
15 | |
16 void SynchronousCompositorContextProvider::SetMemoryPolicyChangedCallback( | |
17 const MemoryPolicyChangedCallback& memory_policy_changed_callback) { | |
18 // Intentional no-op. | |
no sievers
2015/08/05 22:31:27
But this can be NOTREACHED() then?
boliu
2015/08/05 22:35:04
Nope.. it's still called. But this override is tec
| |
19 } | |
20 | |
21 } // namespace content | |
OLD | NEW |