Index: chrome/browser/resources/pdf/pdf.js |
diff --git a/chrome/browser/resources/pdf/pdf.js b/chrome/browser/resources/pdf/pdf.js |
index 826aaf16abbab6ed7b5b2a3f65e42f3a4c35be09..6eb4e6ab614d3a7db145c59a0881398b1fd90fb8 100644 |
--- a/chrome/browser/resources/pdf/pdf.js |
+++ b/chrome/browser/resources/pdf/pdf.js |
@@ -60,7 +60,7 @@ function PDFViewer(streamDetails) { |
// element is sized to fill the entire window and is set to be fixed |
// positioning, acting as a viewport. The plugin renders into this viewport |
// according to the scroll position of the window. |
- this.plugin_ = document.createElement('object'); |
+ this.plugin_ = document.createElement('embed'); |
not at google - send to devlin
2014/11/24 18:18:02
Could you make these changes to pdf in a separate
raymes
2014/11/25 13:34:10
Done.
|
// NOTE: The plugin's 'id' field must be set to 'plugin' since |
// chrome/renderer/printing/print_web_view_helper.cc actually references it. |
this.plugin_.id = 'plugin'; |