Index: Source/core/platform/graphics/gpu/DrawingBuffer.cpp |
diff --git a/Source/core/platform/graphics/gpu/DrawingBuffer.cpp b/Source/core/platform/graphics/gpu/DrawingBuffer.cpp |
index e481f0d12763936d6d28f6691964ca3c9f3c422f..2ecf9699f380cb4dc7787404b4a5d2ccd820b4f7 100644 |
--- a/Source/core/platform/graphics/gpu/DrawingBuffer.cpp |
+++ b/Source/core/platform/graphics/gpu/DrawingBuffer.cpp |
@@ -36,7 +36,6 @@ |
#include "core/html/ImageData.h" |
#include "core/html/canvas/CanvasRenderingContext.h" |
#include "core/platform/chromium/TraceEvent.h" |
-#include "core/platform/chromium/support/GraphicsContext3DPrivate.h" |
#include "core/platform/graphics/Extensions3D.h" |
#include "core/platform/graphics/GraphicsContext3D.h" |
#include "core/platform/graphics/chromium/GraphicsLayerChromium.h" |
@@ -177,7 +176,7 @@ WebKit::WebGraphicsContext3D* DrawingBuffer::context() |
{ |
if (!m_context) |
return 0; |
- return GraphicsContext3DPrivate::extractWebGraphicsContext3D(m_context.get()); |
+ return m_context->webContext(); |
} |
bool DrawingBuffer::prepareMailbox(WebKit::WebExternalTextureMailbox* outMailbox) |