Commit c8de1d54 authored by Rohit Agarwal's avatar Rohit Agarwal Committed by Chromium LUCI CQ

Remove a TODO from web_contents_state.cc

Bug: 1060940
Change-Id: Ia3be8e15d92d90d44a28c161ee80d1172b6df121
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2635153Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Commit-Queue: Rohit Agarwal <roagarwal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845113}
parent e005e6ea
...@@ -365,9 +365,13 @@ WebContents* RestoreContentsFromByteBuffer(void* data, ...@@ -365,9 +365,13 @@ WebContents* RestoreContentsFromByteBuffer(void* data,
sessions::ContentSerializedNavigationBuilder::ToNavigationEntries( sessions::ContentSerializedNavigationBuilder::ToNavigationEntries(
navigations, profile); navigations, profile);
// TODO(https://crbug.com/1060940): Update to cover all OTR profiles. if (is_off_the_record) {
if (is_off_the_record) // Serialization and deserialization related functionalities are only
// supported for Incognito tabbed Activities and they use primary OTR
// profile.
profile = profile->GetPrimaryOTRProfile(); profile = profile->GetPrimaryOTRProfile();
}
WebContents::CreateParams params(profile); WebContents::CreateParams params(profile);
params.initially_hidden = initially_hidden; params.initially_hidden = initially_hidden;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment