mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
Fix comments for Frameproperties
https://bugzilla.mozilla.org/show_bug.cgi?id=1373884 Fixes comments for Frameproperties. These comments went unnoticed earlier. No code changes.
This commit is contained in:
parent
ffb2d9d791
commit
5639ab5968
2 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ protected:
|
|||
*
|
||||
* To use this class, declare a global (i.e., file, class or function-scope
|
||||
* static member) FramePropertyDescriptor and pass its address as
|
||||
* aProperty in the FramePropertyTable methods.
|
||||
* aProperty in the FrameProperties methods.
|
||||
*/
|
||||
template<typename T>
|
||||
struct FramePropertyDescriptor : public FramePropertyDescriptorUntyped
|
||||
|
|
|
|||
|
|
@ -997,7 +997,7 @@ public:
|
|||
#define NS_DECLARE_FRAME_PROPERTY_WITH_DTOR_NEVER_CALLED(prop, type) \
|
||||
static void AssertOnDestroyingProperty##prop(type*) { \
|
||||
MOZ_ASSERT_UNREACHABLE("Frame property " #prop " should never " \
|
||||
"be destroyed by the FramePropertyTable"); \
|
||||
"be destroyed by the FrameProperties class"); \
|
||||
} \
|
||||
NS_DECLARE_FRAME_PROPERTY_WITH_DTOR(prop, type, \
|
||||
AssertOnDestroyingProperty##prop)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue