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 2bec50fa949874465c82d01315904d50ceacc33e..62485f155f8bc2cd759eb3b69e8b3d5f3ca78dd1 100644 |
--- a/content/public/browser/android/synchronous_compositor.h |
+++ b/content/public/browser/android/synchronous_compositor.h |
@@ -64,9 +64,10 @@ class CONTENT_EXPORT SynchronousCompositor { |
scoped_refptr<gpu::InProcessCommandBuffer::Service> service); |
// By default, synchronous compopsitor records the full layer, not only |
- // what is inside and around the view port. Call this on start up to revert |
- // to default behavior when synchronous compositor is not used. |
- static void DisableRecordFullLayer(); |
+ // what is inside and around the view port. This can be used to switch |
+ // between this record-full-layer behavior and normal record-around-viewport |
+ // behavior. |
+ static void SetRecordFullDocument(bool record_full_document); |
// Synchronously initialize compositor for hardware draw. Can only be called |
// while compositor is in software only mode, either after compositor is |