summaryrefslogtreecommitdiffstats
path: root/cc/test/test_context_provider.h
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-30 20:38:36 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-30 20:38:36 +0000
commit2e0975dcc32fcac823d35e42514169e41a3a7fd3 (patch)
treeb010300f234789716d26be9fd6b2b0348d999e4a /cc/test/test_context_provider.h
parent6734e40aa3d7fc25ec790b9148ac61f8c4607a55 (diff)
downloadchromium_src-2e0975dcc32fcac823d35e42514169e41a3a7fd3.zip
chromium_src-2e0975dcc32fcac823d35e42514169e41a3a7fd3.tar.gz
chromium_src-2e0975dcc32fcac823d35e42514169e41a3a7fd3.tar.bz2
cc: Delete GrContext resources when tab becomes invisible.
BUG=366519 Review URL: https://codereview.chromium.org/255593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/test_context_provider.h')
-rw-r--r--cc/test/test_context_provider.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/test_context_provider.h b/cc/test/test_context_provider.h
index 68f7382..a57fb58 100644
--- a/cc/test/test_context_provider.h
+++ b/cc/test/test_context_provider.h
@@ -34,6 +34,7 @@ class TestContextProvider : public ContextProvider {
virtual class GrContext* GrContext() OVERRIDE;
virtual bool IsContextLost() OVERRIDE;
virtual void VerifyContexts() OVERRIDE;
+ virtual void DeleteCachedResources() OVERRIDE;
virtual bool DestroyedOnMainThread() OVERRIDE;
virtual void SetLostContextCallback(const LostContextCallback& cb) OVERRIDE;
virtual void SetMemoryPolicyChangedCallback(