Closed
Bug 1217692
Opened 9 years ago
Closed 9 years ago
Fix some styles of MediaDecoderReader.h
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jwwang
Assignee | ||
Comment 1•9 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=a7e90eafa058
Assignee | ||
Comment 2•9 years ago
|
||
Bug 1217692. Part 1 - move members that don't have to be public to protected or private sections. r=jya.
Attachment #8677964 -
Flags: review?(jyavenard)
Assignee | ||
Comment 3•9 years ago
|
||
Bug 1217692. Part 2 - fix some styles to keep 80 cols limit. r=jya.
Attachment #8677965 -
Flags: review?(jyavenard)
Comment 4•9 years ago
|
||
Comment on attachment 8677964 [details] MozReview Request: Bug 1217692. Part 1 - move members that don't have to be public to protected or private sections. r=jya. https://reviewboard.mozilla.org/r/23065/#review20559 ::: dom/media/MediaDecoderReader.h:64 (Diff revision 1) > + friend class TrackBuffer; I typically have the friend declaration above the members being accessed ; makes it easier to track why they need to be friends. The TrackBuffer class no longer exists.
Attachment #8677964 -
Flags: review?(jyavenard) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8677965 [details] MozReview Request: Bug 1217692. Part 2 - fix some styles to keep 80 cols limit. r=jya. https://reviewboard.mozilla.org/r/23067/#review20561 Shouldn't we have the return type on a line above the function name? e.g.: void MediaDecoderReader::Blah(...) { .. } this is seems to be the most common type used.
Attachment #8677965 -
Flags: review?(jyavenard)
Comment 6•9 years ago
|
||
Comment on attachment 8677965 [details] MozReview Request: Bug 1217692. Part 2 - fix some styles to keep 80 cols limit. r=jya. https://reviewboard.mozilla.org/r/23067/#review20563
Attachment #8677965 -
Flags: review+
Assignee | ||
Comment 7•9 years ago
|
||
Thanks for the review!
Assignee | ||
Comment 8•9 years ago
|
||
https://reviewboard.mozilla.org/r/23067/#review20561 Which line do you mean? I saw the style is used in .cpp files only. Not sure if it applies to .h as well.
Assignee | ||
Comment 9•9 years ago
|
||
https://reviewboard.mozilla.org/r/23065/#review20559 > I typically have the friend declaration above the members being accessed ; makes it easier to track why they need to be friends. > > The TrackBuffer class no longer exists. If the friend only accesses only one member or two, it would be nice to put related things together. But sometimes a friend access several members and it would be a bit messy to put them together.
Comment 10•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/64cbf3e1fe27 https://hg.mozilla.org/integration/mozilla-inbound/rev/2f1393553a48
Comment 11•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/64cbf3e1fe27 https://hg.mozilla.org/mozilla-central/rev/2f1393553a48
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•