| Index: chrome/browser/resources/pdf/pdf.js
|
| diff --git a/chrome/browser/resources/pdf/pdf.js b/chrome/browser/resources/pdf/pdf.js
|
| index 0aa437aef03c7e1747929fe50925367d29164878..d5dde0acaebb2192dabb4441d24b45bedee8bd98 100644
|
| --- a/chrome/browser/resources/pdf/pdf.js
|
| +++ b/chrome/browser/resources/pdf/pdf.js
|
| @@ -182,7 +182,7 @@ PDFViewer.prototype = {
|
| position.y -= this.viewport.size.height;
|
| this.viewport.position = position;
|
| }
|
| - };
|
| + }.bind(this);
|
| var pageDownHandler = function() {
|
| // Go to the next page if we are fit-to-page.
|
| if (this.viewport_.fittingType == Viewport.FittingType.FIT_TO_PAGE) {
|
| @@ -193,7 +193,7 @@ PDFViewer.prototype = {
|
| position.y += this.viewport.size.height;
|
| this.viewport.position = position;
|
| }
|
| - };
|
| + }.bind(this);
|
|
|
| switch (e.keyCode) {
|
| case 32: // Space key.
|
|
|