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

Unified Diff: blimp/client/core/contents/android/blimp_contents_factory.cc

Issue 2201433002: Migrate TabControlFeature from 0.5 to 0.6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: some more compile error fix 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/android/blimp_contents_factory.cc
diff --git a/blimp/client/core/contents/android/blimp_contents_factory.cc b/blimp/client/core/contents/android/blimp_contents_factory.cc
index 92a2ec9250899205c3c520de2336eefc7c27a794..ae3df18b7b310c89c5232d1bd9f9efbbb8c73e19 100644
--- a/blimp/client/core/contents/android/blimp_contents_factory.cc
+++ b/blimp/client/core/contents/android/blimp_contents_factory.cc
@@ -12,6 +12,10 @@
using base::android::JavaParamRef;
+namespace {
+const int kDummyTabId = 0;
+}
+
namespace blimp {
namespace client {
@@ -20,7 +24,7 @@ static base::android::ScopedJavaLocalRef<jobject> CreateBlimpContents(
const JavaParamRef<jclass>& clazz) {
// To delete |blimp_contents_impl|, the Java caller must call the
// destroy() method on BlimpContents.
- BlimpContentsImpl* blimp_contents_impl = new BlimpContentsImpl;
+ BlimpContentsImpl* blimp_contents_impl = new BlimpContentsImpl(kDummyTabId);
return blimp_contents_impl->GetJavaBlimpContentsImpl();
}
« no previous file with comments | « blimp/client/core/contents/BUILD.gn ('k') | blimp/client/core/contents/android/blimp_contents_observer_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698