diff options
author | Pierre-Antoine LaFayette <plafayet@codeaurora.org> | 2012-10-10 13:43:45 -0400 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2013-01-20 18:38:31 -0800 |
commit | c018655c37a1da5d7e1f9dc94d0467130cf630f1 (patch) | |
tree | 1fdea05f45d91439905ed7904b194e4747342364 /Source/WebCore/platform/graphics/android/WebGLLayer.h | |
parent | 77ab7f788fa2de43390a0ddb447c94a191284e88 (diff) | |
download | external_webkit-c018655c37a1da5d7e1f9dc94d0467130cf630f1.zip external_webkit-c018655c37a1da5d7e1f9dc94d0467130cf630f1.tar.gz external_webkit-c018655c37a1da5d7e1f9dc94d0467130cf630f1.tar.bz2 |
Fix for memory leak in WebGL
CRs-fixed: 407009
(cherry-picked from commit 796a2a4cc637a3b04ee845e595b081e826207924)
Change-Id: I584fe07dd5887ed52b74bc84044d510f8a2e2ba8
Diffstat (limited to 'Source/WebCore/platform/graphics/android/WebGLLayer.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/WebGLLayer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/WebGLLayer.h b/Source/WebCore/platform/graphics/android/WebGLLayer.h index e7371f7..6a69082 100644 --- a/Source/WebCore/platform/graphics/android/WebGLLayer.h +++ b/Source/WebCore/platform/graphics/android/WebGLLayer.h @@ -34,6 +34,7 @@ #include "GLUtils.h" #include "GraphicsContext3DProxy.h" #include "LayerAndroid.h" +#include "PassRefPtr.h" #include "RefPtr.h" #include <jni.h> @@ -43,7 +44,7 @@ class GraphicsContext3DInternal; class WebGLLayer : public LayerAndroid { public: - WebGLLayer(GraphicsContext3DProxy* proxy); + WebGLLayer(PassRefPtr<GraphicsContext3DProxy> proxy); WebGLLayer(const WebGLLayer& layer); virtual ~WebGLLayer(); |