Index: android_webview/browser/shared_renderer_state.h |
diff --git a/android_webview/browser/shared_renderer_state.h b/android_webview/browser/shared_renderer_state.h |
index a7ec60ca55163dce2059113c70a1d1b37e5297e6..6fe27229324f736167fb5f7e3bcd612efab70f49 100644 |
--- a/android_webview/browser/shared_renderer_state.h |
+++ b/android_webview/browser/shared_renderer_state.h |
@@ -13,7 +13,6 @@ |
namespace android_webview { |
class BrowserViewRendererClient; |
- |
boliu
2014/04/28 22:22:15
spurious remove
hush (inactive)
2014/04/30 20:50:17
Done.
|
// Set by BrowserViewRenderer and read by HardwareRenderer. |
struct DrawGLInput { |
unsigned int frame_id; |
@@ -51,6 +50,10 @@ class SharedRendererState { |
// This function can be called on both UI and RT thread. |
content::SynchronousCompositor* GetCompositor(); |
+ |
+ void SetMemoryPolicy(const content::SynchronousCompositorMemoryPolicy policy); |
+ content::SynchronousCompositorMemoryPolicy GetMemoryPolicy() const; |
+ |
void SetDrawGLInput(const DrawGLInput& input); |
DrawGLInput GetDrawGLInput() const; |
@@ -65,6 +68,7 @@ class SharedRendererState { |
// Accessed by both UI and RT thread. |
content::SynchronousCompositor* compositor_; |
+ content::SynchronousCompositorMemoryPolicy memory_policy_; |
DrawGLInput draw_gl_input_; |
}; |