OSDN Git Service

Do not merge: Cherry-pick Fix ANR in the browser from master
authorNicolas Roard <nicolas@android.com>
Sat, 19 Feb 2011 09:22:16 +0000 (01:22 -0800)
committerNicolas Roard <nicolas@android.com>
Sat, 19 Feb 2011 09:22:16 +0000 (01:22 -0800)
commit634f229e4f0075b052e110ba0a89554c46f6c510
tree92adb1a4ed784d558fe7b934f14580d5a5b8fc2c
parent928bc35505a3fa29f1598842d49124c06703f972
Do not merge: Cherry-pick Fix ANR in the browser from master

Sometimes we were not releasing textures as they were busy; they could
still be deleted when swapping the layers trees, and as they were
also still present in the LayerTexture Hashmap this was causing an ANR
(at best -- the texture was already deallocated, the LayerTexture dtor
was then trying to release() them...)

bug:3398660
Change-Id: I3b08af94a6a7041d45d373ebaec0ec4ba59dac82
WebCore/platform/graphics/android/BackedDoubleBufferedTexture.cpp
WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
WebCore/platform/graphics/android/BaseTile.cpp
WebCore/platform/graphics/android/BaseTile.h
WebCore/platform/graphics/android/GLWebViewState.cpp
WebCore/platform/graphics/android/GLWebViewState.h
WebCore/platform/graphics/android/LayerAndroid.cpp
WebCore/platform/graphics/android/LayerAndroid.h
WebCore/platform/graphics/android/TextureOwner.h
WebKit/android/nav/WebView.cpp