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 e53f3a85f06d400606cd8fec3a2ddd2f897b2c2f..13afa4af02deee5d2116555b631b1550fc424f29 100644 |
--- a/content/browser/resources/gpu/info_view.js |
+++ b/content/browser/resources/gpu/info_view.js |
@@ -37,6 +37,11 @@ cr.define('gpu', function() { |
// Client info |
if (browserBridge.clientInfo) { |
var clientInfo = browserBridge.clientInfo; |
+ |
+ var commandLineParts = clientInfo.command_line.split(' '); |
+ commandLineParts.shift(); // Pop off the exe path |
+ var commandLineString = commandLineParts.join(' ') |
+ |
this.setTable_('client-info', [ |
{ |
description: 'Data exported', |
@@ -65,6 +70,10 @@ cr.define('gpu', function() { |
{ |
description: '2D graphics backend', |
value: clientInfo.graphics_backend |
+ }, |
+ { |
+ description: 'Command Line Args', |
+ value: commandLineString |
}]); |
} else { |
this.setText_('client-info', '... loading...'); |