Bug 82711 - Fix error with some compilers from previous patch. r=bzbarsky
authorBrian Marshall <bmarsd@gmail.com>
Thu, 30 Oct 2014 06:09:22 -0700
changeset 213245 aec14e7888f0281086438f28e50a44ad1159b67e
parent 213244 7d8529406248e2e49c9faa1c569654bb5d0678a2
child 213246 55f4818378e45014be126d54b1c236a4cdb844c0
push id27745
push usercbook@mozilla.com
push dateFri, 31 Oct 2014 13:09:12 +0000
treeherdermozilla-central@6bd2071b373f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbzbarsky
bugs82711
milestone36.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
Bug 82711 - Fix error with some compilers from previous patch. r=bzbarsky
dom/html/HTMLTextAreaElement.cpp
--- a/dom/html/HTMLTextAreaElement.cpp
+++ b/dom/html/HTMLTextAreaElement.cpp
@@ -439,17 +439,17 @@ HTMLTextAreaElement::GetAttributeChangeH
     NS_UpdateHint(retval, NS_STYLE_HINT_FRAMECHANGE);
   }
   return retval;
 }
 
 NS_IMETHODIMP_(bool)
 HTMLTextAreaElement::IsAttributeMapped(const nsIAtom* aAttribute) const
 {
-  static const MappedAttributeEntry attributes[] {
+  static const MappedAttributeEntry attributes[] = {
     { &nsGkAtoms::wrap },
     { nullptr }
   };
 
   static const MappedAttributeEntry* const map[] = {
     attributes,
     sDivAlignAttributeMap,
     sCommonAttributeMap,