diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2012-03-01 16:02:45 -0800 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2012-03-01 16:18:17 -0800 |
commit | 0f1c02efd8cc889db10575dff2749d103ceeaf87 (patch) | |
tree | 55549c8965791cb9bab55881ae9b32774e87c426 /Source/WebKit | |
parent | 00144be011338276839a08a66ae79b14629b268b (diff) | |
download | external_webkit-0f1c02efd8cc889db10575dff2749d103ceeaf87.zip external_webkit-0f1c02efd8cc889db10575dff2749d103ceeaf87.tar.gz external_webkit-0f1c02efd8cc889db10575dff2749d103ceeaf87.tar.bz2 |
Add one useful log
This log will appear very rarely and it is very useful for debugging.
bug:6079959
Change-Id: I52283d7d11f0d200e4ce9d05259b809ddf05d9e5
Diffstat (limited to 'Source/WebKit')
-rw-r--r-- | Source/WebKit/android/nav/WebView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp index 687f6b2..b0535e7 100644 --- a/Source/WebKit/android/nav/WebView.cpp +++ b/Source/WebKit/android/nav/WebView.cpp @@ -1421,6 +1421,7 @@ static void nativeOnTrimMemory(JNIEnv *env, jobject obj, jint level) TilesManager* tilesManager = TilesManager::instance(); if (level >= TRIM_MEMORY_MODERATE && !tilesManager->highEndGfx()) { + ALOGD("OnTrimMemory with EGL Context %p", eglGetCurrentContext()); tilesManager->transferQueue()->emptyQueue(); tilesManager->shader()->cleanupGLResources(); tilesManager->videoLayerManager()->cleanupGLResources(); |