diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/WebGLLayer.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/android/WebGLLayer.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/WebCore/platform/graphics/android/WebGLLayer.cpp b/Source/WebCore/platform/graphics/android/WebGLLayer.cpp index af1f31d..9feb2e1 100644 --- a/Source/WebCore/platform/graphics/android/WebGLLayer.cpp +++ b/Source/WebCore/platform/graphics/android/WebGLLayer.cpp @@ -37,23 +37,20 @@ namespace WebCore { -WebGLLayer::WebGLLayer(GraphicsContext3DProxy* proxy) +WebGLLayer::WebGLLayer(PassRefPtr<GraphicsContext3DProxy> proxy) : LayerAndroid((RenderLayer*)0) , m_proxy(proxy) { - m_proxy->incr(); } WebGLLayer::WebGLLayer(const WebGLLayer& layer) : LayerAndroid(layer) , m_proxy(layer.m_proxy) { - m_proxy->incr(); } WebGLLayer::~WebGLLayer() { - m_proxy->decr(); } bool WebGLLayer::drawGL(bool layerTilesDisabled) |