Index: content/browser/android/in_process/synchronous_compositor_output_surface.h |
diff --git a/content/browser/android/in_process/synchronous_compositor_output_surface.h b/content/browser/android/in_process/synchronous_compositor_output_surface.h |
index 005cf9aff8d1ab92255f19545dc90d976a02bf5c..414695230c10f978ff18ec3758c012c9d5e9465e 100644 |
--- a/content/browser/android/in_process/synchronous_compositor_output_surface.h |
+++ b/content/browser/android/in_process/synchronous_compositor_output_surface.h |
@@ -76,6 +76,10 @@ class SynchronousCompositorOutputSurface |
void SetTreeActivationCallback(const base::Closure& callback); |
void GetMessagesToDeliver(ScopedVector<IPC::Message>* messages); |
+ size_t GetMemoryPolicy() const { |
+ return memory_policy_.bytes_limit_when_visible; |
+ } |
+ |
private: |
class SoftwareDevice; |
friend class SoftwareDevice; |