Index: content/public/browser/android/compositor.h |
diff --git a/content/public/browser/android/compositor.h b/content/public/browser/android/compositor.h |
index 7d3d3b9eb7d208afc7e739abee44619285df17f3..4554074f802a18e91be2b134e537e360b0984877 100644 |
--- a/content/public/browser/android/compositor.h |
+++ b/content/public/browser/android/compositor.h |
@@ -72,8 +72,12 @@ class CONTENT_EXPORT Compositor { |
virtual void SetVisible(bool visible) = 0; |
// Set the output surface handle which the compositor renders into. |
+ // DEPRECATED: Use SetSurface() which takes a Java Surface object. |
virtual void SetWindowSurface(ANativeWindow* window) = 0; |
+ // Set the output surface which the compositor renders into. |
+ virtual void SetSurface(jobject surface) = 0; |
+ |
// Tells the view tree to assume a transparent background when rendering. |
virtual void SetHasTransparentBackground(bool flag) = 0; |