Index: trunk/src/chrome/browser/resources/pdf/pdf.js |
=================================================================== |
--- trunk/src/chrome/browser/resources/pdf/pdf.js (revision 278190) |
+++ trunk/src/chrome/browser/resources/pdf/pdf.js (working copy) |
@@ -35,8 +35,6 @@ |
* document. |
*/ |
function PDFViewer() { |
- this.loaded = false; |
- |
// The sizer element is placed behind the plugin element to cause scrollbars |
// to be displayed in the window. It is sized according to the document size |
// of the pdf and zoom level. |
@@ -258,7 +256,6 @@ |
} |
} else if (progress == 100) { |
// Document load complete. |
- this.loaded = true; |
var loadEvent = new Event('pdfload'); |
window.dispatchEvent(loadEvent); |
this.sendScriptingMessage_({ |