Chromium Code Reviews| Index: blimp/client/core/contents/blimp_contents_manager.cc |
| diff --git a/blimp/client/core/contents/blimp_contents_manager.cc b/blimp/client/core/contents/blimp_contents_manager.cc |
| index f0a1f6bf560da4167512eb7a99ba49eced4195f3..26cac09f0ef16435fae396986055c27eee696edf 100644 |
| --- a/blimp/client/core/contents/blimp_contents_manager.cc |
| +++ b/blimp/client/core/contents/blimp_contents_manager.cc |
| @@ -51,10 +51,11 @@ BlimpContentsManager::BlimpContentsManager() : weak_ptr_factory_(this) {} |
| BlimpContentsManager::~BlimpContentsManager() {} |
| -std::unique_ptr<BlimpContentsImpl> BlimpContentsManager::CreateBlimpContents() { |
| +std::unique_ptr<BlimpContentsImpl> BlimpContentsManager::CreateBlimpContents( |
|
David Trainor- moved to gerrit
2016/08/18 17:41:58
This class should also call tab_control_feature->C
Menglin
2016/08/19 00:50:21
Done.
|
| + TabControlFeature* tab_control_feature) { |
| int id = CreateBlimpContentsId(); |
| std::unique_ptr<BlimpContentsImpl> new_contents = |
| - base::MakeUnique<BlimpContentsImpl>(id); |
| + base::MakeUnique<BlimpContentsImpl>(id, tab_control_feature); |
| std::unique_ptr<BlimpContentsDeletionObserver> observer = |
| base::MakeUnique<BlimpContentsDeletionObserver>(this, new_contents.get()); |
| observer_map_.insert( |