Bug 1542760 - Correctly report the GPU process in about:support. r=mconley
authorFelipe Gomes <felipc@gmail.com>
Mon, 08 Apr 2019 14:46:59 +0000
changeset 468355 88fd8c3036dcd6b45af7689bcb7080cfa94c0373
parent 468354 4b5b95e9afa09c40aa81c2510e0fb1c0045ef580
child 468356 4fef2150bef9f1274c59862511b619756ee8381e
push id35835
push useraciure@mozilla.com
push dateMon, 08 Apr 2019 19:00:29 +0000
treeherdermozilla-central@40456af7da1c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1542760
milestone68.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 1542760 - Correctly report the GPU process in about:support. r=mconley Differential Revision: https://phabricator.services.mozilla.com/D26526
toolkit/modules/Troubleshoot.jsm
--- a/toolkit/modules/Troubleshoot.jsm
+++ b/toolkit/modules/Troubleshoot.jsm
@@ -320,17 +320,17 @@ var dataProviders = {
         remoteTypes[remoteType]++;
       } else {
         remoteTypes[remoteType] = 1;
       }
     }
 
     try {
       let winUtils = Services.wm.getMostRecentWindow("").windowUtils;
-      if (winUtils.gpuProcessId != -1) {
+      if (winUtils.gpuProcessPid != -1) {
         remoteTypes.gpu = 1;
       }
     } catch (e) {}
 
     let data = {
       remoteTypes,
       maxWebContentProcesses: Services.appinfo.maxWebProcessCount,
     };