Bug 1339546 part 1: Add "using namespace mozilla" decl in nsRuleData.cpp, to fix build bustage for non-unified builds. r?xidorn draft
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 14 Feb 2017 11:23:06 -0800
changeset 484044 d2fa11b96ede94b8cb91c9ea786c1d246d48429e
parent 483640 fc9f6f7e8e86f00af60ff1ecc72eaf854a6b1ddd
child 484045 9671df197d81e93f2244e70f5ba7b9f1cf33d218
push id45382
push userdholbert@mozilla.com
push dateTue, 14 Feb 2017 19:26:35 +0000
reviewersxidorn
bugs1339546
milestone54.0a1
Bug 1339546 part 1: Add "using namespace mozilla" decl in nsRuleData.cpp, to fix build bustage for non-unified builds. r?xidorn MozReview-Commit-ID: Ap7wXTg8efY
layout/style/nsRuleData.cpp
--- a/layout/style/nsRuleData.cpp
+++ b/layout/style/nsRuleData.cpp
@@ -4,16 +4,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsRuleData.h"
 
 #include "nsCSSParser.h"
 #include "mozilla/Poison.h"
 #include <stdint.h>
 
+using namespace mozilla;
+
 inline size_t
 nsRuleData::GetPoisonOffset()
 {
   // Fill in mValueOffsets such that mValueStorage + mValueOffsets[i]
   // will yield the frame poison value for all uninitialized value
   // offsets.
   static_assert(sizeof(uintptr_t) == sizeof(size_t),
                 "expect uintptr_t and size_t to be the same size");