Bug 1574745 - Fix bustages on OS X Cross Compiled. a=bustage-fix CLOSED TREE
authorMihai Alexandru Michis <malexandru@mozilla.com>
Sat, 31 Aug 2019 05:05:53 +0300
changeset 554771 25005fcdb10689745308d4eab5d67f4dd2b034ab
parent 554770 da6f33b8403d6e2a56a836714d97bb29f6a9d8e3
child 554772 9426de4428ca3ea13d1a1cb64e6d90cfb89c11aa
push id2165
push userffxbld-merge
push dateMon, 14 Oct 2019 16:30:58 +0000
treeherdermozilla-release@0eae18af659f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1574745
milestone70.0a1
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
Bug 1574745 - Fix bustages on OS X Cross Compiled. a=bustage-fix CLOSED TREE
gfx/layers/composite/LayerManagerComposite.cpp
--- a/gfx/layers/composite/LayerManagerComposite.cpp
+++ b/gfx/layers/composite/LayerManagerComposite.cpp
@@ -1052,17 +1052,17 @@ bool LayerManagerComposite::Render(const
 
     if (usingNativeLayers) {
       mNativeLayerForEntireWindow->SetRect(mRenderBounds);
 #ifdef XP_MACOSX
       IntRegion opaqueRegion =
           mCompositor->GetWidget()->GetOpaqueWidgetRegion().ToUnknownRegion();
       opaqueRegion.AndWith(mRenderBounds);
       mNativeLayerForEntireWindow->SetOpaqueRegion(
-          opaqueRegion.MovedBy(-mRenderBounds.TopLeft());
+          opaqueRegion.MovedBy(-mRenderBounds.TopLeft()));
 #endif
 
       do {
         Maybe<IntRect> maybeLayerRect =
             mCompositor->BeginRenderingToNativeLayer(
                 aInvalidRegion, rootLayerClip, aOpaqueRegion,
                 mNativeLayerForEntireWindow);
         if (!maybeLayerRect) {