Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h |
| index 1010565b0dea7f2ddd81a70ab46cad78c03c8379..051892316e72b5107dbf9dec10ad4c37dffc1de6 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h |
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h |
| @@ -65,6 +65,7 @@ class Extensions3DUtil; |
| class StaticBitmapImage; |
| class WebExternalTextureLayer; |
| class WebGraphicsContext3DProvider; |
| +class WebGraphicsContext3DProviderWrapper; |
| class WebLayer; |
| // Manages a rendering target (framebuffer + attachment) for a canvas. Can |
| @@ -424,7 +425,7 @@ class PLATFORM_EXPORT DrawingBuffer |
| const PreserveDrawingBuffer m_preserveDrawingBuffer; |
| const WebGLVersion m_webGLVersion; |
| - std::unique_ptr<WebGraphicsContext3DProvider> m_contextProvider; |
| + std::unique_ptr<WebGraphicsContext3DProviderWrapper> m_contextProvider; |
|
Justin Novosad
2016/11/08 20:41:50
No need for unique_ptr
Just:
WebGraphicsContext3DP
xidachen
2016/11/08 21:01:54
Done.
|
| // Lifetime is tied to the m_contextProvider. |
| gpu::gles2::GLES2Interface* m_gl; |
| std::unique_ptr<Extensions3DUtil> m_extensionsUtil; |