Backed out changeset 90ff166702b5 (bug 1357774) for build bustages at AndroidHal.cpp. CLOSED TREE
authorBrindusan Cristian <cbrindusan@mozilla.com>
Wed, 15 May 2019 05:03:41 +0300
changeset 473883 9c251c872a3370203295a8196c970195abc3bcca
parent 473882 251671a74d95593d789639a9288e935346f457c9
child 473884 f907a581ad2bb61427e69dcc99e7bb72085f3fcd
push id36017
push userrgurzau@mozilla.com
push dateWed, 15 May 2019 09:25:56 +0000
treeherdermozilla-central@76bbedc1ec1a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1357774
milestone68.0a1
backs out90ff166702b5dd7e9848eef62746457b11d8fe92
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 90ff166702b5 (bug 1357774) for build bustages at AndroidHal.cpp. CLOSED TREE
dom/base/Document.h
dom/webidl/Document.webidl
hal/sandbox/SandboxHal.cpp
--- a/dom/base/Document.h
+++ b/dom/base/Document.h
@@ -1970,22 +1970,16 @@ class Document : public nsINode,
   OrientationType CurrentOrientationType() const {
     return mCurrentOrientationType;
   }
   void SetOrientationPendingPromise(Promise* aPromise);
   Promise* GetOrientationPendingPromise() const {
     return mOrientationPendingPromise;
   }
 
-  void SetRDMPaneOrientation(OrientationType aType, uint16_t aAngle) {
-    if (mInRDMPane) {
-      SetCurrentOrientation(aType, aAngle);
-    }
-  }
-
   //----------------------------------------------------------------------
 
   // Document notification API's
 
   /**
    * Add a new observer of document change notifications. Whenever
    * content is changed, appended, inserted or removed the observers are
    * informed.  An observer that is already observing the document must
--- a/dom/webidl/Document.webidl
+++ b/dom/webidl/Document.webidl
@@ -579,13 +579,9 @@ partial interface Document {
 /**
  * Document extensions to support devtools.
  */
 partial interface Document {
   // Is the Document embedded in a Responsive Design Mode pane. This property
   // is not propegated to descendant Documents upon settting.
   [ChromeOnly]
   attribute boolean inRDMPane;
-  // Extension to give chrome JS the ability to set the window screen
-  // orientation while in RDM.
-  [ChromeOnly]
-  void setRDMPaneOrientation(OrientationType type, float rotationAngle);
 };
--- a/hal/sandbox/SandboxHal.cpp
+++ b/hal/sandbox/SandboxHal.cpp
@@ -80,17 +80,17 @@ void EnableScreenConfigurationNotificati
 void DisableScreenConfigurationNotifications() {
   Hal()->SendDisableScreenConfigurationNotifications();
 }
 
 void GetCurrentScreenConfiguration(ScreenConfiguration* aScreenConfiguration) {
   fallback::GetCurrentScreenConfiguration(aScreenConfiguration);
 }
 
-bool LockScreenOrientation(const hal::ScreenOrientation& aOrientation) {
+bool LockScreenOrientation(const ScreenOrientation& aOrientation) {
   bool allowed;
   Hal()->SendLockScreenOrientation(aOrientation, &allowed);
   return allowed;
 }
 
 void UnlockScreenOrientation() {
   // Don't send this message from both the middleman and recording processes.
   if (!recordreplay::IsMiddleman()) {