Open Bug 1386200 Opened 7 years ago Updated 2 years ago

Drop OS_* defines under dom/media/

Categories

(Core :: Audio/Video: GMP, task, P3)

task

Tracking

()

People

(Reporter: jbeich, Unassigned)

References

Details

(Keywords: stale-bug)

Attachments

(1 file)

Gecko provides XP_<PLATFORM> while Blink provides OS_<PLATFORM>. While Gecko can also uses the latter it's both discouraged and can be confusing if both styles are used in the same file.
Comment on attachment 8892413 [details]
Bug 1386200 - Don't use Chromium platform macros under dom/media/.

https://reviewboard.mozilla.org/r/163360/#review168732

::: dom/media/gmp/GMPProcessChild.cpp
(Diff revision 1)
> -#elif defined(OS_WIN)
> -  std::vector<std::wstring> values = CommandLine::ForCurrentProcess()->GetLooseValues();
> -  MOZ_ASSERT(values.size() >= 1, "not enough loose args");
> -  pluginFilename = nsDependentString(values[0].c_str());
> -#else
> -#error Not implemented

After bug 969757 everything but Windows is Unix. No need for an exilicit #error what isn't supported even as Tier3 platform.

http://searchfox.org/mozilla-central/rev/09c065976fd4/build/moz.configure/init.configure#683
http://searchfox.org/mozilla-central/rev/09c065976fd4/ipc/chromium/chromium-config.mozbuild#38
See Also: → 1386207
Comment on attachment 8892413 [details]
Bug 1386200 - Don't use Chromium platform macros under dom/media/.

https://reviewboard.mozilla.org/r/163360/#review169040

Thanks!
Attachment #8892413 - Flags: review?(cpearce) → review+
Rank: 15
Priority: -- → P1
This is a P1 bug without an assignee. 

P1 are bugs which are being worked on for the current release cycle/iteration/sprint. 

If the bug is not assigned by Monday, 28 August, the bug's priority will be reset to '--'.
Keywords: stale-bug
Mass change P1->P2 to align with new Mozilla triage process
Priority: P1 → P2
Reduced churn a bit per bug 1386207 comment 4.
Attachment #8892413 - Flags: review+ → review?(cpearce)
Comment on attachment 8892413 [details]
Bug 1386200 - Don't use Chromium platform macros under dom/media/.

https://reviewboard.mozilla.org/r/163360/#review208308
Attachment #8892413 - Flags: review?(cpearce) → review+
Hi Jan,

Do you want to land this r+ed patch?

Just want to cleanup the P2 bugs and want to know the status.

Thanks
Flags: needinfo?(jbeich)
Flags: needinfo?(jbeich)
Type: enhancement → task
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: