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

Unified Diff: ios/chrome/browser/application_context_impl.cc

Issue 2458613004: Record the initial state of the Physical Web at startup (Closed)
Patch Set: fix retain loop Created 3 years, 11 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
« no previous file with comments | « no previous file | ios/chrome/browser/physical_web/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/application_context_impl.cc
diff --git a/ios/chrome/browser/application_context_impl.cc b/ios/chrome/browser/application_context_impl.cc
index 88bc2271dcae72be0e9009cab33d7bc8eec0c397..43e8945889aa616db235cd3f6bd2b13acf77cd76 100644
--- a/ios/chrome/browser/application_context_impl.cc
+++ b/ios/chrome/browser/application_context_impl.cc
@@ -289,7 +289,8 @@ physical_web::PhysicalWebDataSource*
ApplicationContextImpl::GetPhysicalWebDataSource() {
DCHECK(thread_checker_.CalledOnValidThread());
if (!physical_web_data_source_) {
- physical_web_data_source_ = CreateIOSChromePhysicalWebDataSource();
+ physical_web_data_source_ =
+ CreateIOSChromePhysicalWebDataSource(GetLocalState());
DCHECK(physical_web_data_source_);
}
return physical_web_data_source_.get();
« no previous file with comments | « no previous file | ios/chrome/browser/physical_web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698