This PR moves to `chromium_src` code that can live in there, and does with no need for `#define` macro uses. This keeps plaster files shorter, which reduces the noise in them, and it also permits C++ code to live in C++ sources, that can benefit from code formatting, and DEPS validation.
21 lines
1016 B
Diff
21 lines
1016 B
Diff
diff --git a/chrome/browser/ui/browser_tabrestore.cc b/chrome/browser/ui/browser_tabrestore.cc
|
|
index dc253dfd33c5b63dfdbbc89bd3718a5244546cf6..beef94643fb7eeaca4e92bf6c7d953bc8ad5f805 100644
|
|
--- a/chrome/browser/ui/browser_tabrestore.cc
|
|
+++ b/chrome/browser/ui/browser_tabrestore.cc
|
|
@@ -72,7 +72,14 @@ std::unique_ptr<WebContents> CreateRestoredTab(
|
|
browser->profile(), session_storage_namespace);
|
|
WebContents::CreateParams create_params(
|
|
browser->profile(),
|
|
- tab_util::GetSiteInstanceForNewTab(browser->profile(), restore_url));
|
|
+ tab_util::GetSiteInstanceForNewTab(
|
|
+ browser->profile(), restore_url
|
|
+#if BUILDFLAG(ENABLE_CONTAINERS)
|
|
+ ,
|
|
+ containers::GetStoragePartitionConfigToRestore(
|
|
+ browser->profile(), navigations, selected_navigation)
|
|
+#endif // BUILDFLAG(ENABLE_CONTAINERS)
|
|
+ ));
|
|
create_params.initially_hidden = initially_hidden;
|
|
create_params.desired_renderer_state =
|
|
WebContents::CreateParams::kNoRendererProcess;
|