Index: content/browser/renderer_host/compositor_impl_android.h |
diff --git a/content/browser/renderer_host/compositor_impl_android.h b/content/browser/renderer_host/compositor_impl_android.h |
index b825a315e64fcb570506d7f352db648ce5ad2695..52d1c93425d39441ac9f9e3ae03c2fd9f6c1135a 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.h |
+++ b/content/browser/renderer_host/compositor_impl_android.h |
@@ -9,6 +9,7 @@ |
#include "base/compiler_specific.h" |
#include "base/containers/scoped_ptr_hash_map.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/memory/weak_ptr.h" |
#include "cc/resources/ui_resource_client.h" |
#include "cc/trees/layer_tree_host_client.h" |
#include "cc/trees/layer_tree_host_single_thread_client.h" |
@@ -105,6 +106,7 @@ class CONTENT_EXPORT CompositorImpl |
cc::UIResourceId GenerateUIResourceFromUIResourceBitmap( |
const cc::UIResourceBitmap& bitmap, |
bool is_transient); |
+ void OnGpuChannelEstablished(); |
scoped_refptr<cc::Layer> root_layer_; |
scoped_ptr<cc::LayerTreeHost> host_; |
@@ -125,6 +127,7 @@ class CONTENT_EXPORT CompositorImpl |
UIResourceMap ui_resource_map_; |
gfx::NativeWindow root_window_; |
+ base::WeakPtrFactory<CompositorImpl> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(CompositorImpl); |
}; |