  };
  
 diff --git a/widget/cocoa/nsColorPicker.mm b/widget/cocoa/nsColorPicker.mm
-index 1fdaa03a29fb..be2e141052c5 100644
+index 1fdaa03a29fb..b1fb7332e430 100644
 --- a/widget/cocoa/nsColorPicker.mm
 +++ b/widget/cocoa/nsColorPicker.mm
 @@ -9,6 +9,10 @@

 - (void)retarget:(nsColorPicker*)aPicker;
 - (void)colorChanged:(NSColorPanel*)aPanel;
 @end
@@ -52,14 +56,15 @@ HexStrToInt(NSString* str)
   return self;
 }
 

 
   if (sColorPanelWrapper) {
     // Update current wrapper to target the new input instead
@@ -123,33 +130,43 @@ nsColorPicker::Init(mozIDOMWindowProxy* aParent, const nsAString& aTitle,
 /* static */ NSColor*
 nsColorPicker::GetNSColorFromHexString(const nsAString& aColor)
 {
