  }
  
  NS_IMETHODIMP
-@@ -159,7 +175,8 @@ nsColorPicker::Open(nsIColorPickerShownCallback* aCallback)
+@@ -159,7 +176,8 @@ nsColorPicker::Open(nsIColorPickerShownCallback* aCallback)
    mCallback = aCallback;
  
    [sColorPanelWrapper open:GetNSColorFromHexString(mColor)

 
   NS_ADDREF_THIS();
 
@@ -169,7 +186,12 @@ nsColorPicker::Open(nsIColorPickerShownCallback* aCallback)
 void
 nsColorPicker::Update(NSColor* aColor)
 {

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