Bug 1266320: Add 'aFailureId' parameter to Gonk's |GfxInfo::GetFeatureStatusImpl|, r=milan
authorThomas Zimmermann <tdz@users.sourceforge.net>
Fri, 22 Apr 2016 09:26:13 +0200
changeset 332336 61fa023639b3e0296df9396687f77375fac2c0d2
parent 332335 b4d0ef7a0f1e752b51f7fb1a7c7f2b1549f7c3ec
child 332337 b709b8c797569fd70589fe6866b6ac5f531b6456
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmilan
bugs1266320
milestone48.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 1266320: Add 'aFailureId' parameter to Gonk's |GfxInfo::GetFeatureStatusImpl|, r=milan
widget/gonk/GfxInfo.cpp
widget/gonk/GfxInfo.h
--- a/widget/gonk/GfxInfo.cpp
+++ b/widget/gonk/GfxInfo.cpp
@@ -149,20 +149,21 @@ GfxInfo::GetGfxDriverInfo()
 }
 
 uint32_t GfxInfo::OperatingSystemVersion()
 {
   return 0;
 }
 
 nsresult
-GfxInfo::GetFeatureStatusImpl(int32_t /*aFeature*/, 
-                              int32_t *aStatus, 
+GfxInfo::GetFeatureStatusImpl(int32_t /*aFeature*/,
+                              int32_t *aStatus,
                               nsAString & /*aSuggestedDriverVersion*/,
-                              const nsTArray<GfxDriverInfo>& /*aDriverInfo*/, 
+                              const nsTArray<GfxDriverInfo>& /*aDriverInfo*/,
+                              nsACString& aFailureId,
                               OperatingSystem* /*aOS*/ /* = nullptr */)
 {
   NS_ENSURE_ARG_POINTER(aStatus);
   *aStatus = nsIGfxInfo::FEATURE_STATUS_OK;
 
   return NS_OK;
 }
 
--- a/widget/gonk/GfxInfo.h
+++ b/widget/gonk/GfxInfo.h
@@ -53,16 +53,17 @@ public:
 #endif
 
 protected:
 
   virtual nsresult GetFeatureStatusImpl(int32_t aFeature,
                                         int32_t *aStatus,
                                         nsAString & aSuggestedDriverVersion,
                                         const nsTArray<GfxDriverInfo>& aDriverInfo,
+                                        nsACString& aFailureId,
                                         OperatingSystem* aOS = nullptr);
   virtual const nsTArray<GfxDriverInfo>& GetGfxDriverInfo();
 };
 
 } // namespace widget
 } // namespace mozilla
 
 #endif /* __mozilla_widget_GfxInfo_h__ */