diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2012-02-28 15:04:30 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-02-28 15:04:30 -0800 |
commit | 7c9401fdc1f052f3e98bac0bef7b24ac743251e5 (patch) | |
tree | 15d253ff5fa0cfa94e7e9a1cc85e4324f4a10a1d /Source/WebKit | |
parent | 88701339756d329107741b531c730f0b40a95619 (diff) | |
parent | 5965903d393505b9a49ac3a142aa0c17cd98bce8 (diff) | |
download | external_webkit-7c9401fdc1f052f3e98bac0bef7b24ac743251e5.zip external_webkit-7c9401fdc1f052f3e98bac0bef7b24ac743251e5.tar.gz external_webkit-7c9401fdc1f052f3e98bac0bef7b24ac743251e5.tar.bz2 |
Merge "Delete the GL shader resources in a cleaner way"
Diffstat (limited to 'Source/WebKit')
-rw-r--r-- | Source/WebKit/android/nav/WebView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp index 6aed700..132ed98 100644 --- a/Source/WebKit/android/nav/WebView.cpp +++ b/Source/WebKit/android/nav/WebView.cpp @@ -1421,7 +1421,7 @@ static void nativeOnTrimMemory(JNIEnv *env, jobject obj, jint level) if (level >= TRIM_MEMORY_MODERATE && !TilesManager::instance()->highEndGfx()) { TilesManager::instance()->transferQueue()->emptyQueue(); - TilesManager::instance()->setContextChanged(true); + TilesManager::instance()->shader()->cleanupGLResources(); } bool freeAllTextures = (level > TRIM_MEMORY_UI_HIDDEN), glTextures = true; |