Index: android_webview/browser/hardware_renderer.h |
diff --git a/android_webview/browser/hardware_renderer.h b/android_webview/browser/hardware_renderer.h |
index 2a83fda458979ced8db845aef86fba2e7faab083..6d4cc942ef330a8094323dcdbe0c16bc53cd1aeb 100644 |
--- a/android_webview/browser/hardware_renderer.h |
+++ b/android_webview/browser/hardware_renderer.h |
@@ -9,10 +9,12 @@ |
#include "android_webview/browser/compositor_id.h" |
#include "base/macros.h" |
+#include "base/memory/ptr_util.h" |
dcheng
2016/10/21 06:42:56
Nit: let's not include this in headers (it's prett
boliu
2016/10/21 15:15:32
Done.
|
#include "base/memory/ref_counted.h" |
#include "cc/surfaces/frame_sink_id.h" |
#include "cc/surfaces/surface_factory_client.h" |
#include "cc/surfaces/surface_id.h" |
+#include "content/public/browser/android/synchronous_compositor.h" |
struct AwDrawGLInfo; |
@@ -66,6 +68,8 @@ class HardwareRenderer : public cc::SurfaceFactoryClient { |
// SurfaceFactory. |
std::unique_ptr<ChildFrame> child_frame_; |
+ scoped_refptr<content::SynchronousCompositor::FrameFuture> frame_future_; |
+ |
const scoped_refptr<SurfacesInstance> surfaces_; |
cc::FrameSinkId frame_sink_id_; |
const std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_; |