 
         tabsButton.titleLabel?.snp_makeConstraints { make in
             make.size.equalTo(URLBarViewUX.TabsButtonHeight)
+        }
+
+        curveShape.snp_makeConstraints { make in
+            make.top.left.bottom.equalTo(self)
+            self.rightBarConstraint = make.right.equalTo(self).constraint
+            self.rightBarConstraint?.updateOffset(defaultRightOffset)
         }
     }
 

    // Used to temporarily store the cloned button so we can respond to layout changes during animation
    private weak var clonedTabsButton: InsetButton?

    var isEditing: Bool {
        return locationView.active
    }

        CGContextSaveGState(context)
        CGContextClearRect(context, rect)
        CGContextSetFillColorWithColor(context, URLBarViewUX.backgroundColorWithAlpha(1).CGColor)
        getPath().fill()
        leftCurvePath.fill()
        CGContextDrawPath(context, kCGPathFill)
        CGContextRestoreGState(context)
    }
