Closed
Bug 1163201
Opened 10 years ago
Closed 10 years ago
Remove usage of |#ifdef PR_LOGGING| from various dom subdirectories
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla41
People
(Reporter: erahm, Assigned: erahm)
References
Details
Attachments
(3 files, 1 obsolete file)
170.24 KB,
patch
|
froydnj
:
review+
masayuki
:
review+
|
Details | Diff | Splinter Review |
18.83 KB,
patch
|
froydnj
:
review+
gcp
:
review+
|
Details | Diff | Splinter Review |
2.09 KB,
patch
|
cpeterson
:
review+
|
Details | Diff | Splinter Review |
In bug 1161238 we plan on removing |--disable-logging| which makes |#ifdef PR_LOGGING| redundant.
This covers:
- dom/camera/
- dom/html/
- dom/media/
Assignee | ||
Comment 1•10 years ago
|
||
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
Attachment #8604365 -
Flags: review?(nfroyd)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → erahm
Status: NEW → ASSIGNED
![]() |
||
Updated•10 years ago
|
Attachment #8604365 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8604365 [details] [diff] [review]
Part 1: Remove instances of #ifdef PR_LOGGING in dom/
Masayuki can you review the changes in |dom/events/IMEStateManager.cpp|. I want to double check that we really want to MOZ_CRASH in |IMEStateManager::OnDestroyPresContext|.
Attachment #8604365 -
Flags: review?(masayuki)
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8604975 -
Flags: review?(nfroyd)
Assignee | ||
Comment 4•10 years ago
|
||
|mSamples| was made protected just to satisfy a warning if PR_LOGGING was not
set. Now that it is always defined this no longer is necessary.
Attachment #8604976 -
Flags: review?(cpeterson)
Assignee | ||
Comment 5•10 years ago
|
||
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8604975 [details] [diff] [review]
Part 2: Wrap expensive calls in PR_LOG_TEST
gcp, can you review the change to |dom/media/systemservices/OpenSLESProvider.cpp|? This was fixing what presumably was a copy and paste error.
Attachment #8604975 -
Flags: review?(gpascutto)
Comment 7•10 years ago
|
||
Comment on attachment 8604365 [details] [diff] [review]
Part 1: Remove instances of #ifdef PR_LOGGING in dom/
Perhaps, not necessary but I want. The MOZ_CRASH() *might* detect memory leak of very rare case.
Attachment #8604365 -
Flags: review?(masayuki) → review+
Comment 8•10 years ago
|
||
Comment on attachment 8604976 [details] [diff] [review]
Part 3: Make mSamples private in |MediaEngineWebRTCAudioSource|
Review of attachment 8604976 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM. Thanks for removing my workaround. :)
Attachment #8604976 -
Flags: review?(cpeterson) → review+
Updated•10 years ago
|
Attachment #8604975 -
Flags: review?(gpascutto) → review+
![]() |
||
Updated•10 years ago
|
Attachment #8604975 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 9•10 years ago
|
||
|mSamples| was made protected just to satisfy a warning if PR_LOGGING was not
set. As it turns out the warning is correct and mSamples is not used, so lets
remove it.
Attachment #8605365 -
Flags: review?(cpeterson)
Assignee | ||
Updated•10 years ago
|
Attachment #8604976 -
Attachment is obsolete: true
Assignee | ||
Comment 10•10 years ago
|
||
Comment 11•10 years ago
|
||
Comment on attachment 8605365 [details] [diff] [review]
Part 3: Remove mSamples in |MediaEngineWebRTCAudioSource|
Review of attachment 8605365 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM. Thanks!
Attachment #8605365 -
Flags: review?(cpeterson) → review+
Assignee | ||
Comment 12•10 years ago
|
||
Assignee | ||
Comment 13•10 years ago
|
||
Assignee | ||
Comment 14•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9104ef257c4a
https://hg.mozilla.org/mozilla-central/rev/b2e89be9c64d
https://hg.mozilla.org/mozilla-central/rev/9ed296e3c72e
https://hg.mozilla.org/mozilla-central/rev/ec7cf8914e8e
https://hg.mozilla.org/mozilla-central/rev/fc5813496d2f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•