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

Unified Diff: chrome/browser/resources/pdf/elements/viewer-progress-bar/viewer-progress-bar.js

Issue 867123002: Ensure the OOP PDF progress bar segments are visible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/pdf/elements/viewer-progress-bar/viewer-progress-bar.js
diff --git a/chrome/browser/resources/pdf/elements/viewer-progress-bar/viewer-progress-bar.js b/chrome/browser/resources/pdf/elements/viewer-progress-bar/viewer-progress-bar.js
index 0809cd6e7ecd6303b92e5f0fd9ba9b3a3b57d33e..97987cc0eeb034c817a3e3d412e036a4c99774ba 100644
--- a/chrome/browser/resources/pdf/elements/viewer-progress-bar/viewer-progress-bar.js
+++ b/chrome/browser/resources/pdf/elements/viewer-progress-bar/viewer-progress-bar.js
@@ -14,7 +14,7 @@ Polymer('viewer-progress-bar', {
var numVisible = this.progress * this.segments.length / 100.0;
for (var i = 0; i < this.segments.length; i++) {
this.segments[i].style.visibility =
- i < numVisible ? 'auto' : 'hidden';
+ i < numVisible ? 'inherit' : 'hidden';
}
if (this.progress >= 100 || this.progress < 0)
« 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