Index: android_webview/browser/browser_view_renderer.h |
diff --git a/android_webview/browser/browser_view_renderer.h b/android_webview/browser/browser_view_renderer.h |
index b0852fd581ef483da2ad558b46cbc0ea93f98134..5952effc792dae3b72ecd86c9c0441075c8a0fca 100644 |
--- a/android_webview/browser/browser_view_renderer.h |
+++ b/android_webview/browser/browser_view_renderer.h |
@@ -107,6 +107,7 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient, |
bool attached_to_window() const { return attached_to_window_; } |
bool hardware_enabled() const { return hardware_enabled_; } |
void ReleaseHardware(); |
+ void InvalidateOnFunctorDestroy(); |
boliu
2014/10/28 19:49:43
nit: Put this next to UpdateParentDrawContraints/D
hush (inactive)
2014/10/29 19:57:04
Done.
|
// Set the memory policy in shared renderer state and request the tiles from |
// GlobalTileManager. The actually amount of memory allowed by |
@@ -164,7 +165,6 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient, |
bool OnDrawHardware(); |
scoped_ptr<cc::CompositorFrame> CompositeHw(); |
- void ReturnUnusedResource(scoped_ptr<cc::CompositorFrame> frame); |
void ReturnResourceFromParent(); |
// If we call up view invalidate and OnDraw is not called before a deadline, |