| Index: content/public/browser/android/synchronous_compositor.h
|
| diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h
|
| index 4db367fa13d420c9009a304caaf1dc052179a4da..69000e56639f3c67ce1c5541c40dba84b4c2d5af 100644
|
| --- a/content/public/browser/android/synchronous_compositor.h
|
| +++ b/content/public/browser/android/synchronous_compositor.h
|
| @@ -31,19 +31,6 @@ namespace content {
|
| class SynchronousCompositorClient;
|
| class WebContents;
|
|
|
| -struct CONTENT_EXPORT SynchronousCompositorMemoryPolicy {
|
| - // Memory limit for rendering and pre-rendering.
|
| - size_t bytes_limit;
|
| -
|
| - // Limit of number of GL resources used for rendering and pre-rendering.
|
| - size_t num_resources_limit;
|
| -
|
| - SynchronousCompositorMemoryPolicy();
|
| -
|
| - bool operator==(const SynchronousCompositorMemoryPolicy& other) const;
|
| - bool operator!=(const SynchronousCompositorMemoryPolicy& other) const;
|
| -};
|
| -
|
| // Interface for embedders that wish to direct compositing operations
|
| // synchronously under their own control. Only meaningful when the
|
| // kEnableSyncrhonousRendererCompositor flag is specified.
|
| @@ -99,8 +86,7 @@ class CONTENT_EXPORT SynchronousCompositor {
|
| virtual bool DemandDrawSw(SkCanvas* canvas) = 0;
|
|
|
| // Set the memory limit policy of this compositor.
|
| - virtual void SetMemoryPolicy(
|
| - const SynchronousCompositorMemoryPolicy& policy) = 0;
|
| + virtual void SetMemoryPolicy(size_t bytes_limit) = 0;
|
|
|
| // Should be called by the embedder after the embedder had modified the
|
| // scroll offset of the root layer (as returned by
|
|
|