summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/DoubleBufferedTexture.cpp
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-12-13 10:06:43 -0800
committerNicolas Roard <nicolas@android.com>2010-12-13 10:06:43 -0800
commite846e5780f8a50e85389d25846b866ba79e85e14 (patch)
tree4836ddc2531a0c5f840024fe4f4157098ccd6abc /WebCore/platform/graphics/android/DoubleBufferedTexture.cpp
parent83ddee4501f0c2f48d1073e0185a2fb0a732c929 (diff)
downloadexternal_webkit-e846e5780f8a50e85389d25846b866ba79e85e14.zip
external_webkit-e846e5780f8a50e85389d25846b866ba79e85e14.tar.gz
external_webkit-e846e5780f8a50e85389d25846b866ba79e85e14.tar.bz2
Fix onDestroy()
Change-Id: Ie58ff8d0da2159639b2c05ea14a5bea811824d3e
Diffstat (limited to 'WebCore/platform/graphics/android/DoubleBufferedTexture.cpp')
-rw-r--r--WebCore/platform/graphics/android/DoubleBufferedTexture.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/DoubleBufferedTexture.cpp b/WebCore/platform/graphics/android/DoubleBufferedTexture.cpp
index a3ae5ab..31a1186 100644
--- a/WebCore/platform/graphics/android/DoubleBufferedTexture.cpp
+++ b/WebCore/platform/graphics/android/DoubleBufferedTexture.cpp
@@ -58,8 +58,6 @@ DoubleBufferedTexture::DoubleBufferedTexture(EGLContext sharedContext)
DoubleBufferedTexture::~DoubleBufferedTexture()
{
- SharedTexture* textures[3] = { &m_textureA, &m_textureB, 0 };
- onDestroy(textures);
#ifdef DEBUG_COUNT
gDoubleBufferedTextureCount--;
#endif