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

Unified Diff: chrome/browser/resources/inspect/inspect.js

Issue 25680003: chrome://inspect: Alignment fix for Android webviews (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/inspect/inspect.js
diff --git a/chrome/browser/resources/inspect/inspect.js b/chrome/browser/resources/inspect/inspect.js
index f0fb046adf75a951ca07f3847167c3ae51ef09a8..d3f908abb0dec9d216cbe4fca9a51aba5cf985f2 100644
--- a/chrome/browser/resources/inspect/inspect.js
+++ b/chrome/browser/resources/inspect/inspect.js
@@ -391,7 +391,8 @@ function addWebViewDescription(row, webview) {
subRow.className = 'subrow webview';
if (webview.empty || !webview.attached || !webview.visible)
subRow.className += ' invisible-view';
- subRow.appendChild(formatValue(viewStatus, 'visibility'));
+ if (viewStatus.visibility)
+ subRow.appendChild(formatValue(viewStatus, 'visibility'));
subRow.appendChild(formatValue(viewStatus, 'position'));
subRow.appendChild(formatValue(viewStatus, 'size'));
var mainSubrow = row.querySelector('.subrow.main');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698