Backed out changeset 2e731191c692 (bug 1189565) for causing bug 1201053
authorWes Kocher <wkocher@mozilla.com>
Wed, 02 Sep 2015 12:34:02 -0700
changeset 260571 a6786bf8d71d4cf40c3d40e06d8e3c9866863475
parent 260570 7ca8e465cbd25a16815a20bf9b50265180ca9ca2
child 260582 2e976365ac1d8ca2a8384710377fa60c01903590
push id29315
push userkwierso@gmail.com
push dateWed, 02 Sep 2015 19:35:17 +0000
treeherdermozilla-central@a6786bf8d71d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1189565, 1201053
milestone43.0a1
backs out2e731191c6920f29f12b4592466f9a4dc2df1842
first release with
nightly linux32
a6786bf8d71d / 43.0a1 / 20150903030225 / files
nightly linux64
a6786bf8d71d / 43.0a1 / 20150903030225 / files
nightly mac
a6786bf8d71d / 43.0a1 / 20150903030225 / files
nightly win32
a6786bf8d71d / 43.0a1 / 20150903030225 / files
nightly win64
a6786bf8d71d / 43.0a1 / 20150903030225 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 2e731191c692 (bug 1189565) for causing bug 1201053 a=backout
widget/cocoa/nsChildView.mm
widget/cocoa/nsCocoaWindow.mm
--- a/widget/cocoa/nsChildView.mm
+++ b/widget/cocoa/nsChildView.mm
@@ -966,19 +966,16 @@ nsChildView::BackingScaleFactorChanged()
 
   mBackingScaleFactor = newScale;
 
   if (mWidgetListener && !mWidgetListener->GetXULWindow()) {
     nsIPresShell* presShell = mWidgetListener->GetPresShell();
     if (presShell) {
       presShell->BackingScaleFactorChanged();
     }
-    // When the backing scale factor changes, so does our size in device pixels
-    // (though not in display pixels).
-    ReportSizeEvent();
   }
 }
 
 int32_t
 nsChildView::RoundsWidgetCoordinatesTo()
 {
   if (BackingScaleFactor() == 2.0) {
     return 2;
--- a/widget/cocoa/nsCocoaWindow.mm
+++ b/widget/cocoa/nsCocoaWindow.mm
@@ -1699,19 +1699,16 @@ nsCocoaWindow::BackingScaleFactorChanged
   if (!mWidgetListener || mWidgetListener->GetXULWindow()) {
     return;
   }
 
   nsIPresShell* presShell = mWidgetListener->GetPresShell();
   if (presShell) {
     presShell->BackingScaleFactorChanged();
   }
-  // When the backing scale factor changes, so does our size in device pixels
-  // (though not in display pixels).
-  ReportSizeEvent();
 }
 
 int32_t
 nsCocoaWindow::RoundsWidgetCoordinatesTo()
 {
   if (BackingScaleFactor() == 2.0) {
     return 2;
   }