Closed Bug 1618121 Opened 4 years ago Closed 4 years ago

CheckedUnsafePtr should be a literal type and trivially copyable if checking is disabled

Categories

(Core :: Storage: Quota Manager, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: sg, Assigned: sg)

Details

Attachments

(1 file)

No description provided.
Summary: CheckedUnsafePtr should be a literal type if checking is disabled → CheckedUnsafePtr should be a literal type and trivially copyable if checking is disabled
Priority: -- → P2
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b874484bdeb7
Make CheckedUnsafePtr a literal type and trivially copyable if checking is disabled, and add get member function r=dom-workers-and-storage-reviewers,edenchuang
Attachment #9129055 - Attachment description: Bug 1618121 - Make CheckedUnsafePtr a literal type and trivially copyable if checking is disabled, and add get member function r=#dom-workers-and-storage → Bug 1618121 - Make CheckedUnsafePtr a literal type and trivially copyable if checking is disabled, and add get member function. r=#dom-workers-and-storage

There was a bug in the copy assignment operator, which was not covered by the unit tests, so this slipped through. I added unit test cases and fixed the bug. Try looks fine now: https://treeherder.mozilla.org/#/jobs?repo=try&revision=08e503064e5c7a5c42679f3d81af1cee29ccc99d Will reland the patch now.

Flags: needinfo?(sgiesecke)
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6e0a1c83694c
Make CheckedUnsafePtr a literal type and trivially copyable if checking is disabled, and add get member function. r=dom-workers-and-storage-reviewers,edenchuang
Pushed by pjiang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0ce94e16652c
Make CheckedUnsafePtr a literal type and trivially copyable if checking is disabled, and add get member function. r=dom-workers-and-storage-reviewers,edenchuang
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Flags: needinfo?(sgiesecke)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: