Index: cc/surfaces/surface_manager.h |
diff --git a/cc/surfaces/surface_manager.h b/cc/surfaces/surface_manager.h |
index 81ca648fc15b73516bb3c76ceab0b3eb85189b7e..5dd3bb2bfb162bc1b61589d27319754afcf10b38 100644 |
--- a/cc/surfaces/surface_manager.h |
+++ b/cc/surfaces/surface_manager.h |
@@ -15,7 +15,6 @@ |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
-#include "base/memory/weak_ptr.h" |
#include "base/observer_list.h" |
#include "base/threading/thread_checker.h" |
#include "cc/surfaces/frame_sink_id.h" |
@@ -117,8 +116,6 @@ |
const SurfaceId& child_id) override; |
size_t GetSurfaceReferenceCount(const SurfaceId& surface_id) const override; |
size_t GetReferencedSurfaceCount(const SurfaceId& surface_id) const override; |
- |
- base::WeakPtr<SurfaceManager> GetWeakPtr(); |
private: |
void RecursivelyAttachBeginFrameSource(const FrameSinkId& frame_sink_id, |
@@ -199,8 +196,6 @@ |
// with this id, it's for bookkeeping purposes only. |
const SurfaceId root_surface_id_; |
- base::WeakPtrFactory<SurfaceManager> weak_factory_; |
- |
DISALLOW_COPY_AND_ASSIGN(SurfaceManager); |
}; |