Fix some comments; no bug. (DONTBUILD)
authorCameron McCormack <cam@mcc.id.au>
Mon, 09 Dec 2013 10:14:00 +1100
changeset 175132 86ce0ae55c5dd0db6e93b8a5c9424f111b52c35a
parent 175131 eb2a2c686cc7f098fb568f8d7a72cd5061231fda
child 175133 5c7612dcd6dc406da18f98719cdb1d74b6730098
child 175145 6c6feff2a255279c36d35d57711d9b11d479b4e1
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Fix some comments; no bug. (DONTBUILD)
layout/style/nsRuleNode.cpp
--- a/layout/style/nsRuleNode.cpp
+++ b/layout/style/nsRuleNode.cpp
@@ -2499,17 +2499,17 @@ nsRuleNode::AdjustLogicalBoxProp(nsStyle
     } else {                                                                  \
       maybeFakeParentData.construct ctorargs_;                                \
       parentdata_ = maybeFakeParentData.addr();                               \
     }                                                                         \
   }                                                                           \
   bool canStoreInRuleTree = aCanStoreInRuleTree;
 
 /**
- * Begin an nsRuleNode::Compute*Data function for an inherited struct.
+ * End an nsRuleNode::Compute*Data function for an inherited struct.
  *
  * @param type_ The nsStyle* type this function computes.
  * @param data_ Variable holding the result of this function.
  */
 #define COMPUTE_END_INHERITED(type_, data_)                                   \
   NS_POSTCONDITION(!canStoreInRuleTree || aRuleDetail == eRuleFullReset ||    \
                    (aStartStruct && aRuleDetail == eRulePartialReset),        \
                    "canStoreInRuleTree must be false for inherited structs "  \
@@ -2534,17 +2534,17 @@ nsRuleNode::AdjustLogicalBoxProp(nsStyle
       AddStyleBit(nsCachedStyleData::GetBitForSID(eStyleStruct_##type_));     \
   }                                                                           \
   /* Always cache inherited data on the style context */                      \
   aContext->SetStyle##type_(data_);                                           \
                                                                               \
   return data_;
 
 /**
- * Begin an nsRuleNode::Compute*Data function for a reset struct.
+ * End an nsRuleNode::Compute*Data function for a reset struct.
  *
  * @param type_ The nsStyle* type this function computes.
  * @param data_ Variable holding the result of this function.
  */
 #define COMPUTE_END_RESET(type_, data_)                                       \
   NS_POSTCONDITION(!canStoreInRuleTree ||                                     \
                    aRuleDetail == eRuleNone ||                                \
                    aRuleDetail == eRulePartialReset ||                        \