[tbb-commits] [tor-browser/tor-browser-45.4.0esr-6.5-1] fixup! Bug 1070710 - Add mozilla::ViewRegion which assembles a LayoutDeviceIntRegion as NSViews. r=spohl

gk at torproject.org gk at torproject.org
Wed Oct 26 12:40:25 UTC 2016


commit a6b4bb9a9d2769e8be110f2f0486b9ec74882575
Author: Kathy Brade <brade at pearlcrescent.com>
Date:   Tue Oct 25 23:01:20 2016 -0400

    fixup! Bug 1070710 - Add mozilla::ViewRegion which assembles a LayoutDeviceIntRegion as NSViews. r=spohl
    
    OSX: Fix a problem where clicking and dragging in the content area of a
    window would sometimes cause the window to move. This is a fixup for an
    error introduced while backporting a Mozilla patch for Tor bug 20204.
---
 widget/cocoa/ViewRegion.mm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/widget/cocoa/ViewRegion.mm b/widget/cocoa/ViewRegion.mm
index 3459849..ee31889 100644
--- a/widget/cocoa/ViewRegion.mm
+++ b/widget/cocoa/ViewRegion.mm
@@ -56,7 +56,6 @@ ViewRegion::UpdateRegion(const LayoutDeviceIntRegion& aRegion,
       }
       [view setNeedsDisplay:YES];
       mViews.AppendElement(view);
-      iter.Next();
     } else {
       // Our new region is made of fewer rects than the old region, so we can
       // remove this view. We only have a weak reference to it, so removing it



More information about the tbb-commits mailing list