OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef CCRenderPassSink_h | 5 #ifndef CCRenderPassSink_h |
6 #define CCRenderPassSink_h | 6 #define CCRenderPassSink_h |
7 | 7 |
8 #include <wtf/PassOwnPtr.h> | 8 #include "base/memory/scoped_ptr.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
11 | 11 |
12 class CCRenderPass; | 12 class CCRenderPass; |
13 | 13 |
14 class CCRenderPassSink { | 14 class CCRenderPassSink { |
15 public: | 15 public: |
16 virtual void appendRenderPass(PassOwnPtr<CCRenderPass>) = 0; | 16 virtual void appendRenderPass(scoped_ptr<CCRenderPass>) = 0; |
17 }; | 17 }; |
18 | 18 |
19 } | 19 } |
20 #endif // CCRenderPassSink_h | 20 #endif // CCRenderPassSink_h |
OLD | NEW |