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 52214d4e6838650b6f798e42033feeb566f01b35..3bf40972fa61917afa087dcb650f8e6867bd7edf 100644 |
--- a/blimp/client/core/contents/blimp_contents_manager.cc |
+++ b/blimp/client/core/contents/blimp_contents_manager.cc |
@@ -14,10 +14,6 @@ |
#include "blimp/client/core/render_widget/render_widget_feature.h" |
#include "blimp/client/public/contents/blimp_contents_observer.h" |
-namespace { |
-const int kDummyTabId = 0; |
-} |
- |
namespace blimp { |
namespace client { |
@@ -102,10 +98,7 @@ BlimpContentsImpl* BlimpContentsManager::GetBlimpContents(int id) { |
} |
int BlimpContentsManager::CreateBlimpContentsId() { |
- // TODO(mlliu): currently, Blimp only supports a single tab, so returning a |
- // dummy tab id. Need to return real case id when Blimp supports multiple |
- // tabs. |
- return kDummyTabId; |
+ return next_blimp_contents_id_++; |
} |
void BlimpContentsManager::EraseObserverFromMap(int id) { |