| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 WebGLSharedWebGraphicsContext3D_h | 5 #ifndef WebGLSharedWebGraphicsContext3D_h |
| 6 #define WebGLSharedWebGraphicsContext3D_h | 6 #define WebGLSharedWebGraphicsContext3D_h |
| 7 | 7 |
| 8 #include "wtf/Forward.h" | 8 #include "sky/engine/wtf/Forward.h" |
| 9 #include "wtf/RefCounted.h" | 9 #include "sky/engine/wtf/RefCounted.h" |
| 10 #include "wtf/RefPtr.h" | 10 #include "sky/engine/wtf/RefPtr.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class WebGraphicsContext3D; | 14 class WebGraphicsContext3D; |
| 15 class DrawingBuffer; | 15 class DrawingBuffer; |
| 16 | 16 |
| 17 #if ENABLE(OILPAN) | 17 #if ENABLE(OILPAN) |
| 18 // The attached WebGLContextObjects are finalized using the | 18 // The attached WebGLContextObjects are finalized using the |
| 19 // blink::WebGraphicsContext3D object of this object's DrawingBuffer. | 19 // blink::WebGraphicsContext3D object of this object's DrawingBuffer. |
| 20 // Naturally the DrawingBuffer must then be kept alive until those | 20 // Naturally the DrawingBuffer must then be kept alive until those |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 private: | 39 private: |
| 40 explicit WebGLSharedWebGraphicsContext3D(PassRefPtr<DrawingBuffer>); | 40 explicit WebGLSharedWebGraphicsContext3D(PassRefPtr<DrawingBuffer>); |
| 41 | 41 |
| 42 RefPtr<DrawingBuffer> m_buffer; | 42 RefPtr<DrawingBuffer> m_buffer; |
| 43 }; | 43 }; |
| 44 #endif | 44 #endif |
| 45 | 45 |
| 46 } | 46 } |
| 47 | 47 |
| 48 #endif // WebGLSharedWebGraphicsContext3D_h | 48 #endif // WebGLSharedWebGraphicsContext3D_h |
| OLD | NEW |