Bug 1287653 - Add feature to GetPrefNameForFeature. - r=milan
authorJeff Gilbert <jgilbert@mozilla.com>
Mon, 01 Aug 2016 13:23:28 -0700
changeset 310124 cc145173aba781a8b7500723e0b30e26c42c32ff
parent 310123 3167ef50f1ffd3b1756f2528988bba230186e83a
child 310125 7e665764ca147c5faaada000a08ef4329873a106
push id20348
push userryanvm@gmail.com
push dateFri, 19 Aug 2016 13:56:01 +0000
treeherderfx-team@8dfc2fdb7ae3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmilan
bugs1287653
milestone51.0a1
Bug 1287653 - Add feature to GetPrefNameForFeature. - r=milan MozReview-Commit-ID: Id0yMzMfxtB
widget/GfxInfoBase.cpp
--- a/widget/GfxInfoBase.cpp
+++ b/widget/GfxInfoBase.cpp
@@ -155,17 +155,18 @@ GetPrefNameForFeature(int32_t aFeature)
     case nsIGfxInfo::FEATURE_WEBRTC_HW_ACCELERATION_DECODE:
       name = BLACKLIST_PREF_BRANCH "webrtc.hw.acceleration.decode";
       break;
     case nsIGfxInfo::FEATURE_CANVAS2D_ACCELERATION:
       name = BLACKLIST_PREF_BRANCH "canvas2d.acceleration";
       break;
     case nsIGfxInfo::FEATURE_VP8_HW_DECODE:
     case nsIGfxInfo::FEATURE_VP9_HW_DECODE:
-      // We don't provide prefs for this features.
+    case nsIGfxInfo::FEATURE_DX_INTEROP2:
+      // We don't provide prefs for these features.
       break;
     default:
       MOZ_ASSERT_UNREACHABLE("Unexpected nsIGfxInfo feature?!");
       break;
   }
 
   return name;
 }