summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2019-07-15 13:53:44 +0000
committerGitHub <noreply@github.com>2019-07-15 13:53:44 +0000
commitc4d192b49246ed72e2b857452b557ef1bef83c58 (patch)
tree90c7dfe03b777989e4b7f692fd9d4a40c46ac339
parent3a772b2fcc008ca40e47df86618b938b6a6a55c7 (diff)
parenta059b0688b82ca1fc51eae621916eb6dd008d873 (diff)
downloadUXP-c4d192b49246ed72e2b857452b557ef1bef83c58.tar
UXP-c4d192b49246ed72e2b857452b557ef1bef83c58.tar.gz
UXP-c4d192b49246ed72e2b857452b557ef1bef83c58.tar.lz
UXP-c4d192b49246ed72e2b857452b557ef1bef83c58.tar.xz
UXP-c4d192b49246ed72e2b857452b557ef1bef83c58.zip
Merge pull request #1181 from win7-7/FrameProperties-fix-comments
Fix comments for FrameProperties (no code changes)
-rw-r--r--layout/base/FrameProperties.h2
-rw-r--r--layout/generic/nsIFrame.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/layout/base/FrameProperties.h b/layout/base/FrameProperties.h
index 71a79138a..74513abac 100644
--- a/layout/base/FrameProperties.h
+++ b/layout/base/FrameProperties.h
@@ -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
diff --git a/layout/generic/nsIFrame.h b/layout/generic/nsIFrame.h
index 37a4e3749..ec3568483 100644
--- a/layout/generic/nsIFrame.h
+++ b/layout/generic/nsIFrame.h
@@ -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)