Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assorted fixes for mac chromium #379

Merged
merged 10 commits into from
Feb 6, 2023
Merged

Assorted fixes for mac chromium #379

merged 10 commits into from
Feb 6, 2023

Conversation

bhackett1024
Copy link

@@ -39,8 +39,10 @@ WaitableEvent::WaitableEvent(ResetPolicy reset_policy,
InitialState initial_state)
: policy_(reset_policy) {
// Pointer registration is needed for sorting in WaitSet.user_events_
recordreplay::RegisterPointer("WaitableEvent", this);
record_replay_ordered_lock_id_ = recordreplay::CreateOrderedLock("WaitableEvent");
if (!recordreplay::AreEventsDisallowed() || recordreplay::HasDivergedFromRecording()) {

Choose a reason for hiding this comment

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

I'm amazed by how little changes are needed for mac. i.e. it looks like even this cc file is mac specific

Copy link
Author

Choose a reason for hiding this comment

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

Well, there is some other mac specific logic already in place, since we used to be able to record/replay on chrome 91 and I made sure that the mac build worked during the 108 rebase.

@bhackett1024 bhackett1024 merged commit d46ebfe into master Feb 6, 2023
@bhackett1024 bhackett1024 deleted the chromium-build-mac branch February 6, 2023 20:28
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.

None yet

3 participants