Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2943)

Unified Diff: blimp/client/core/contents/blimp_contents_manager_unittest.cc

Issue 2270323004: Add BlimpView to a Chrome tab when Blimp is enabled. (Closed)
Patch Set: Magic now happens Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: blimp/client/core/contents/blimp_contents_manager_unittest.cc
diff --git a/blimp/client/core/contents/blimp_contents_manager_unittest.cc b/blimp/client/core/contents/blimp_contents_manager_unittest.cc
index 0a8f1f805f3c0cf10149b066d70bc96af583b290..5a4becd094408254813835ffe9e08f44b0f1eb71 100644
--- a/blimp/client/core/contents/blimp_contents_manager_unittest.cc
+++ b/blimp/client/core/contents/blimp_contents_manager_unittest.cc
@@ -42,7 +42,7 @@ TEST(BlimpContentsManagerUnittest, GetExistingBlimpContents) {
EXPECT_CALL(tab_control_feature, CreateTab(_)).Times(1);
std::unique_ptr<BlimpContentsImpl> blimp_contents =
- blimp_contents_manager.CreateBlimpContents();
+ blimp_contents_manager.CreateBlimpContents(nullptr);
int id = blimp_contents->id();
BlimpContentsImpl* existing_contents =
blimp_contents_manager.GetBlimpContents(id);
@@ -69,7 +69,7 @@ TEST(BlimpContentsManagerUnittest, GetDestroyedBlimpContents) {
EXPECT_CALL(tab_control_feature, CreateTab(_)).Times(1);
std::unique_ptr<BlimpContentsImpl> blimp_contents =
- blimp_contents_manager.CreateBlimpContents();
+ blimp_contents_manager.CreateBlimpContents(nullptr);
id = blimp_contents.get()->id();
BlimpContentsImpl* existing_contents =
blimp_contents_manager.GetBlimpContents(id);

Powered by Google App Engine
This is Rietveld 408576698