From 2e0975dcc32fcac823d35e42514169e41a3a7fd3 Mon Sep 17 00:00:00 2001 From: "alokp@chromium.org" Date: Wed, 30 Apr 2014 20:38:36 +0000 Subject: 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 --- cc/test/test_context_provider.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cc/test/test_context_provider.h') 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( -- cgit v1.1