Index: chrome/browser/android/compositor/layer_title_cache.cc |
diff --git a/chrome/browser/android/compositor/layer_title_cache.cc b/chrome/browser/android/compositor/layer_title_cache.cc |
index 1cd7755e9f3747a70dac2bced95bc7551e10259b..62e209259fedafc7639e112c7ca5cab892af2874 100644 |
--- a/chrome/browser/android/compositor/layer_title_cache.cc |
+++ b/chrome/browser/android/compositor/layer_title_cache.cc |
@@ -77,6 +77,12 @@ void LayerTitleCache::UpdateLayer(JNIEnv* env, |
} |
} |
+void LayerTitleCache::UpdateTitleForTab(int tab_id, int theme_color) { |
+ JNIEnv* env = base::android::AttachCurrentThread(); |
+ Java_LayerTitleCache_buildUpdatedTitle(env, weak_java_title_cache_.get(env), |
+ tab_id, theme_color); |
+} |
+ |
void LayerTitleCache::UpdateFavicon(JNIEnv* env, |
const JavaParamRef<jobject>& obj, |
jint tab_id, |