Index: chrome/browser/resources/pdf/pdf.js |
diff --git a/chrome/browser/resources/pdf/pdf.js b/chrome/browser/resources/pdf/pdf.js |
index b6d5caa5d35079af211be6911ac116be1d88236d..af1ebea9e52a319d59a9a090e8f3ee867ae01c15 100644 |
--- a/chrome/browser/resources/pdf/pdf.js |
+++ b/chrome/browser/resources/pdf/pdf.js |
@@ -90,6 +90,8 @@ function PDFViewer(streamDetails) { |
(window.innerHeight - this.toolbarHeight_) + 'px'; |
this.plugin_.style.width = window.innerWidth + 'px'; |
+ this.plugin_.setAttribute('is-material', this.isMaterial_); |
+ |
// Handle scripting messages from outside the extension that wish to interact |
// with it. We also send a message indicating that extension has loaded and |
// is ready to receive messages. |