Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1025)

Unified Diff: content/browser/resources/gpu/info_view.js

Issue 2756793003: Move GPU blacklist and driver bug workaround list from json to data struct. (Closed)
Patch Set: pure rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/resources/gpu/info_view.js
diff --git a/content/browser/resources/gpu/info_view.js b/content/browser/resources/gpu/info_view.js
index bcd24f896c09bfb9fb4d3df87dacc6c8bbcdda1f..e54cc17cbdacf171690bcdf22b54187eaa5b3cc9 100644
--- a/content/browser/resources/gpu/info_view.js
+++ b/content/browser/resources/gpu/info_view.js
@@ -270,7 +270,7 @@ cr.define('gpu', function() {
problemEl.appendChild(desc);
// Spacing ':' element
- if (problem.crBugs.length + problem.webkitBugs.length > 0) {
+ if (problem.crBugs.length > 0) {
var tmp = document.createElement('span');
tmp.textContent = ': ';
problemEl.appendChild(tmp);
@@ -295,22 +295,6 @@ cr.define('gpu', function() {
nbugs++;
}
- for (j = 0; j < problem.webkitBugs.length; ++j) {
- if (nbugs > 0) {
- var tmp = document.createElement('span');
- tmp.textContent = ', ';
- problemEl.appendChild(tmp);
- }
-
- var link = document.createElement('a');
- var bugid = parseInt(problem.webkitBugs[j]);
- link.textContent = bugid;
-
- link.href = 'https://bugs.webkit.org/show_bug.cgi?id=' + bugid;
- problemEl.appendChild(link);
- nbugs++;
- }
-
if (problem.affectedGpuSettings.length > 0) {
var brNode = document.createElement('br');
problemEl.appendChild(brNode);
« no previous file with comments | « content/browser/gpu/gpu_data_manager_testing_exceptions_autogen.h ('k') | content/public/browser/gpu_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698