Index: content/public/browser/android/compositor.h |
diff --git a/content/public/browser/android/compositor.h b/content/public/browser/android/compositor.h |
index 7cb73e258386415e941768e8151745a667865d1b..236a90dd00d4703b40142317be9787071963a9fb 100644 |
--- a/content/public/browser/android/compositor.h |
+++ b/content/public/browser/android/compositor.h |
@@ -69,8 +69,9 @@ class CONTENT_EXPORT Compositor { |
// The buffer is not modified if false is returned. |
virtual bool CompositeAndReadback(void *pixels, const gfx::Rect& rect) = 0; |
- // Composite immediately. Used in single-threaded mode. |
- virtual void Composite() = 0; |
+ // Request layout and draw. You only need to call this if you need to trigger |
+ // Composite *without* having modified the layer tree. |
+ virtual void SetNeedsComposite() = 0; |
// Generates a UIResource and returns a UIResourceId. |is_transient| |
// indicates whether or not to release the resource once the bitmap |