From c1f385eda9bdf4e60fc16d22ca5c09e018992be6 Mon Sep 17 00:00:00 2001
From: Jonas Jenwald <jonas.jenwald@gmail.com>
Date: Sun, 26 Nov 2017 10:39:24 +0100
Subject: [PATCH] Remove the `pageRotation` getter in `PDFViewerApplication`

This was added, during the refactoring in PR 8556, to avoid outright breaking third-party users of the default viewer.
With PDF.js version `2.0`, where we're making API changes that aren't backwards compatible, we ought to be able to remove this piece of viewer code as well.
---
 web/app.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/web/app.js b/web/app.js
index 44e7b99f7..f1d9e7271 100644
--- a/web/app.js
+++ b/web/app.js
@@ -525,10 +525,6 @@ let PDFViewerApplication = {
     return this.pdfDocument ? this.pdfDocument.numPages : 0;
   },
 
-  get pageRotation() {
-    return this.pdfViewer.pagesRotation;
-  },
-
   set page(val) {
     this.pdfViewer.currentPageNumber = val;
   },