Bug 1121900 - [flatfish] build break by "error: undefined reference to 'mozilla::dom::MozIsoDepTech::mTechnology'". r=yoshi
authorDimi Lee <dlee@mozilla.com>
Wed, 04 Mar 2015 11:21:49 +0800
changeset 232075 db595b5a24578a6fffab652994e7928221f08562
parent 232074 9652fe730f2cc0094c62b28f07767d7f5f0c6301
child 232076 839a1eb14d2071211f808b3f39b0ff0431016812
push id28369
push userkwierso@gmail.com
push dateThu, 05 Mar 2015 23:36:09 +0000
treeherdermozilla-central@0189941a3fd5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersyoshi
bugs1121900
milestone39.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 1121900 - [flatfish] build break by "error: undefined reference to 'mozilla::dom::MozIsoDepTech::mTechnology'". r=yoshi
dom/nfc/MozIsoDepTech.cpp
dom/nfc/MozIsoDepTech.h
--- a/dom/nfc/MozIsoDepTech.cpp
+++ b/dom/nfc/MozIsoDepTech.cpp
@@ -31,16 +31,18 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_END
 
 NS_IMPL_CYCLE_COLLECTING_ADDREF(MozIsoDepTech)
 NS_IMPL_CYCLE_COLLECTING_RELEASE(MozIsoDepTech)
 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(MozIsoDepTech)
   NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
   NS_INTERFACE_MAP_ENTRY(nsISupports)
 NS_INTERFACE_MAP_END
 
+const NFCTechType MozIsoDepTech::mTechnology = NFCTechType::ISO_DEP;
+
 /* static */
 already_AddRefed<MozIsoDepTech>
 MozIsoDepTech::Constructor(const GlobalObject& aGlobal,
                            MozNFCTag& aNFCTag,
                            ErrorResult& aRv)
 {
   ErrorResult rv;
   nsCOMPtr<nsPIDOMWindow> win = do_QueryInterface(aGlobal.GetAsSupports());
--- a/dom/nfc/MozIsoDepTech.h
+++ b/dom/nfc/MozIsoDepTech.h
@@ -40,15 +40,15 @@ public:
 
 private:
   MozIsoDepTech(nsPIDOMWindow* aWindow, MozNFCTag& aNFCTag);
   virtual ~MozIsoDepTech();
 
   nsRefPtr<nsPIDOMWindow> mWindow;
   nsRefPtr<MozNFCTag> mTag;
 
-  static const NFCTechType mTechnology = NFCTechType::ISO_DEP;
+  static const NFCTechType mTechnology;
 };
 
 } // namespace dom
 } // namespace mozilla
 
 #endif  // mozilla_dom_nfc_MozIsoDepTech_h__