  }
  
  bool
+ TabParent::DeallocPColorPickerParent(PColorPickerParent* actor)
+ {
+   delete actor;
+   return true;
+ }
 diff --git a/dom/ipc/TabParent.h b/dom/ipc/TabParent.h
-index c3b82953e38a..196a5b9d9a63 100644
 --- a/dom/ipc/TabParent.h
 +++ b/dom/ipc/TabParent.h
-@@ -334,7 +334,8 @@ public:
+@@ -329,17 +329,18 @@ public:
+   virtual mozilla::ipc::IPCResult
+   RecvDispatchMouseEvent(const mozilla::WidgetMouseEvent& aEvent) override;
+ 
+   virtual mozilla::ipc::IPCResult
+   RecvDispatchKeyboardEvent(const mozilla::WidgetKeyboardEvent& aEvent) override;
  
    virtual PColorPickerParent*
    AllocPColorPickerParent(const nsString& aTitle,

 // The screen with the menubar/taskbar. This shouldn't be needed very
 // often.
 //
diff --git a/widget/cocoa/nsClipboard.mm b/widget/cocoa/nsClipboard.mm
index 61858ba306db..f249341cd273 100644
--- a/widget/cocoa/nsClipboard.mm
+++ b/widget/cocoa/nsClipboard.mm
@@ -24,6 +24,7 @@
 #include "nsObjCExceptions.h"
 #include "imgIContainer.h"
 #include "nsCocoaUtils.h"

+        NS_ENSURE_TRUE(SerializeLIValueAttribute(aElement, aStr), NS_ERROR_OUT_OF_MEMORY);
+      }
+    }
+
+    // Even LI passed above have to go through this
+    // for serializing attributes other than "value".
+    nsAutoString dummyPrefix;
