Skip to content

feat: upgrade to Chromium 72.0.3626.52 - #16334

Merged
BinaryMuse merged 58 commits into
masterfrom
chromium-upgrade/72
Jan 22, 2019
Merged

BinaryMuse merged 58 commits into
masterfrom
chromium-upgrade/72

Conversation

@nornagon

@nornagon nornagon commented Jan 9, 2019

Copy link
Copy Markdown
Contributor

Description of Change

Ref https://github.com/electron/electron/projects/16

Checklist

Release Notes

Notes: upgrade to Chromium 72.0.3626.52

@nornagon
nornagon requested review from a team January 9, 2019 00:59
@nornagon
nornagon force-pushed the chromium-upgrade/72 branch from 2ea8c2b to 6747530 Compare January 9, 2019 23:13
@nornagon
nornagon requested review from a team January 9, 2019 23:13
@nornagon
nornagon force-pushed the chromium-upgrade/72 branch 2 times, most recently from d26ed3c to 89bb3b7 Compare January 10, 2019 01:10
api_web_contents_->web_contents()->AttachToOuterWebContentsFrame(
base::WrapUnique<content::WebContents>(embedder_web_contents_),
guest_web_contents->AttachToOuterWebContentsFrame(
base::WrapUnique<content::WebContents>(guest_web_contents),

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like it's changing behaviour, is that intentional?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup its based on the AttachToOuterWebContentsFrame api change in https://chromium-review.googlesource.com/c/chromium/src/+/1301843.

From

// Attaches this inner WebContents to its container frame
// |outer_contents_frame| in |outer_web_contents|.

to

// Attaches |current_web_contents| to its container frame
// |outer_contents_frame|.

void WebContents::DetachFromOuterFrame() {
// See detach_webview_frame.patch on how to detach.
auto* impl = static_cast<content::WebContentsImpl*>(web_contents());
impl->GetRenderManagerForTesting()->RemoveOuterDelegateFrame();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably a better way to access the frame host manager would be via FrameTreeNode https://cs.chromium.org/chromium/src/content/browser/frame_host/frame_tree_node.h?l=106 . Based on the comments GetRenderManagerForTesting might be removed soon.

@nornagon
nornagon force-pushed the chromium-upgrade/72 branch from 45b7838 to 4910487 Compare January 14, 2019 23:03
@nornagon nornagon changed the title [wip] feat: upgrade to Chromium 72.0.3626.52 feat: upgrade to Chromium 72.0.3626.52 Jan 14, 2019
@nornagon
nornagon requested a review from a team January 15, 2019 19:30
nornagon and others added 18 commits January 22, 2019 10:32
it was complaining about 'undeclared identifier 'TRUE''
to pick up libuv compile fix on windows
Chromium no longer cleans up everything when a guest webcontents is
destroyed, we have to force detaching it and let Chromium destroy everything.
…r.cc

I'm seeing crashes on Windows when runnings tests for serviceWorker, the
reason why the dcheck failed is unclear.
@nornagon
nornagon force-pushed the chromium-upgrade/72 branch from 05e6998 to c0f6a44 Compare January 22, 2019 18:33

@jkleinsc jkleinsc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BinaryMuse

Copy link
Copy Markdown
Contributor

@BinaryMuse
BinaryMuse merged commit 1918e76 into master Jan 22, 2019
@release-clerk

release-clerk Bot commented Jan 22, 2019 •

Copy link
Copy Markdown

Release Notes Persisted

Upgraded to Chromium 72.0.3626.52.

@BinaryMuse
BinaryMuse deleted the chromium-upgrade/72 branch January 22, 2019 18:39
@MarshallOfSound
MarshallOfSound restored the chromium-upgrade/72 branch January 22, 2019 20:00
MarshallOfSound added a commit that referenced this pull request Jan 22, 2019
@MarshallOfSound
MarshallOfSound deleted the chromium-upgrade/72 branch January 22, 2019 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants