Open Bug 2041588 Opened 3 months ago Updated 3 months ago

Use GBytes/GByteArray as RefPtr instead of UniquePtr.

Categories

(Core :: Widget: Gtk, task)

task

Tracking

()

People

(Reporter: stransky, Unassigned, NeedInfo)

References

Details

Follow up from Bug 2025329 / https://phabricator.services.mozilla.com/D294766#inline-1605998

void operator()(GBytes* aPtr) const { g_bytes_unref(aPtr); }
void operator()(GByteArray* aPtr) const { g_byte_array_unref(aPtr); }

use them as RefPtr instead of UniquePtr.

Depends on: 2025329
Flags: needinfo?(stransky)
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.