Fix typo in GPUChild::Init. (bug 1289205, r=rhunt)
authorDavid Anderson <danderson@mozilla.com>
Mon, 25 Jul 2016 23:18:01 -0700
changeset 346669 6a5a741a239198467672ca13b77a7a3f674f5cad
parent 346668 f8ada839cad0cad17040174331ff92afd96ec0e1
child 346670 ff1ef8ec0fd800bf6856c1572c3b1610c45e9b6a
child 346691 30ea7af8393e57aebadc0066c103cf4d5d6309e7
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrhunt
bugs1289205
milestone50.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
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);