Closed
Bug 1545351
Opened 2 years ago
Closed 2 years ago
Some GeckoProfiler.h macros are missing namespace specifiers
Categories
(Core :: Gecko Profiler, defect, P3)
Core
Gecko Profiler
Tracking
()
RESOLVED
FIXED
mozilla68
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: gerald, Assigned: gerald)
Details
Attachments
(1 file)
# define AUTO_PROFILER_TEXT_MARKER_CAUSE(markerName, text, categoryPair, \
cause) \
AutoProfilerTextMarker PROFILER_RAII( \
markerName, text, JS::ProfilingCategoryPair::categoryPair, Nothing(), \
Nothing(), cause)
If this macro was used outside of namespace mozilla
or without an equivalent using
-directive/declaration, it wouldn't find Nothing()
.
(Open question, while we're here: Should we specify absolute namespaces as well, e.g. ::mozilla::Nothing()
?)
Assignee | ||
Comment 1•2 years ago
|
||
Some macros would not work if they were used in a context where namespace mozilla
is not directly accessible. Fixed by added appropriate mozilla::
specifiers.
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → gsquelart
Pushed by gsquelart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e75bfefbe442 Add some missing namespaces in macros - r=mstange
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in
before you can comment on or make changes to this bug.
Description
•