summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp')
-rw-r--r--third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
index 518f87b..0b4c635 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
@@ -211,6 +211,11 @@ gpu::gles2::GLES2Interface* DrawingBuffer::contextGL()
return m_gl;
}
+WebGraphicsContext3DProvider* DrawingBuffer::contextProvider()
+{
+ return m_contextProvider.get();
+}
+
void DrawingBuffer::setIsHidden(bool hidden)
{
if (m_isHidden == hidden)