summaryrefslogtreecommitdiffstats
path: root/content/browser/web_contents/web_contents_impl.h
diff options
context:
space:
mode:
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-22 02:09:50 +0000
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-22 02:09:50 +0000
commit686474c7f1a4c06b092fc8fd9ff91e49aa41c274 (patch)
treefc4595be9c0c0914e64ff28717ef699f30173fd3 /content/browser/web_contents/web_contents_impl.h
parent604d033db0ce3e967e00f4f84f6ffaa217f525f7 (diff)
downloadchromium_src-686474c7f1a4c06b092fc8fd9ff91e49aa41c274.zip
chromium_src-686474c7f1a4c06b092fc8fd9ff91e49aa41c274.tar.gz
chromium_src-686474c7f1a4c06b092fc8fd9ff91e49aa41c274.tar.bz2
aw: Release hardware onTrimMemory(MODERATE)
Frameworks destroys the underlying EGLContext on after certain levels of onTrimMemory, so webview must also release its hardware draw resources to avoid using stale references. Factor out release hardware resource code in aw_contents.cc and browser_view_renderer.cc, and call it in onTrimMemory. BUG=395657 Review URL: https://codereview.chromium.org/408803002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284591 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/web_contents/web_contents_impl.h')
0 files changed, 0 insertions, 0 deletions