Bug 1053986 - Fix comment referring to a GetBorder method that no longer exists. r?dholbert
This fixes some of the substance of the comment as well.
MozReview-Commit-ID: Hj94dV1qGFP
--- a/layout/generic/nsIFrame.h
+++ b/layout/generic/nsIFrame.h
@@ -962,20 +962,21 @@ public:
return mozilla::LogicalMargin(aWritingMode, GetUsedMargin());
}
/**
* Return the distance between the border edge of the frame (which is
* its rect) and the padding edge of the frame. Like GetRect(), returns
* the dimensions as of the most recent reflow.
*
- * Note that this differs from StyleBorder()->GetBorder() in that
- * this describes region of the frame's box, and
- * StyleBorder()->GetBorder() describes a border. They differ only
- * for tables, particularly border-collapse tables.
+ * Note that this differs from StyleBorder()->GetComputedBorder() in
+ * that this describes region of the frame's box, and
+ * StyleBorder()->GetComputedBorder() describes a border. They differ
+ * for tables (particularly border-collapse tables) and themed
+ * elements.
*/
virtual nsMargin GetUsedBorder() const;
virtual mozilla::LogicalMargin
GetLogicalUsedBorder(mozilla::WritingMode aWritingMode) const {
return mozilla::LogicalMargin(aWritingMode, GetUsedBorder());
}
/**