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

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

Issue 2201433002: Migrate TabControlFeature from 0.5 to 0.6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove BlmipContentImpl default constructor, Move BlimpContentsDeletionObserver declaration to blim… 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_impl_unittest.cc
diff --git a/blimp/client/core/contents/blimp_contents_impl_unittest.cc b/blimp/client/core/contents/blimp_contents_impl_unittest.cc
index 03132529690813afa33bd0e4797b8de48480e449..a7c80a2cf205676424b545d75de389da0e6cc3c0 100644
--- a/blimp/client/core/contents/blimp_contents_impl_unittest.cc
+++ b/blimp/client/core/contents/blimp_contents_impl_unittest.cc
@@ -15,6 +15,7 @@ namespace {
const GURL kExampleURL = GURL("https://www.example.com/");
const GURL kOtherExampleURL = GURL("https://www.otherexample.com/");
+const int kDummyTabId = 0;
class TestBlimpContentsObserver : public BlimpContentsObserver {
public:
@@ -33,7 +34,7 @@ class TestBlimpContentsObserver : public BlimpContentsObserver {
TEST(BlimpContentsImplTest, Basic) {
base::MessageLoop loop;
- BlimpContentsImpl blimp_contents;
+ BlimpContentsImpl blimp_contents{kDummyTabId};
BlimpNavigationController& navigation_controller =
blimp_contents.GetNavigationController();

Powered by Google App Engine
This is Rietveld 408576698