Fix typo in GPUChild::Init. (bug 1289205, r=rhunt)
authorDavid Anderson <danderson@mozilla.com>
Mon, 25 Jul 2016 23:18:01 -0700
changeset 331703 6a5a741a239198467672ca13b77a7a3f674f5cad
parent 331702 f8ada839cad0cad17040174331ff92afd96ec0e1
child 331704 ff1ef8ec0fd800bf6856c1572c3b1610c45e9b6a
child 331725 30ea7af8393e57aebadc0066c103cf4d5d6309e7
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrhunt
bugs1289205
milestone50.0a1
Fix typo in GPUChild::Init. (bug 1289205, r=rhunt)
gfx/ipc/GPUChild.cpp
--- a/gfx/ipc/GPUChild.cpp
+++ b/gfx/ipc/GPUChild.cpp
@@ -27,17 +27,17 @@ GPUChild::Init()
   // Build a list of prefs the GPU process will need. Note that because we
   // limit the GPU process to prefs contained in gfxPrefs, we can simplify
   // the message in two ways: one, we only need to send its index in gfxPrefs
   // rather than its name, and two, we only need to send prefs that don't
   // have their default value.
   nsTArray<GfxPrefSetting> prefs;
   for (auto pref : gfxPrefs::all()) {
     if (pref->HasDefaultValue()) {
-      return;
+      continue;
     }
 
     GfxPrefValue value;
     pref->GetCachedValue(&value);
     prefs.AppendElement(GfxPrefSetting(pref->Index(), value));
   }
 
   SendInit(prefs);