Bug 1314707: Fix build bustage due to bool/IPCResult changes; r=bustage a=bustage
authorAaron Klotz <aklotz@mozilla.com>
Wed, 21 Dec 2016 11:11:43 -0700
changeset 353125 79763f9eac51d555813ae9c9b87ece57e2859b31
parent 353124 3686b2e516446faba229534613cee5e2e2c82258
child 353126 d43a5a11c195d12ca3a3179855a6b50a05583311
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage, bustage
bugs1314707
milestone52.0a2
Bug 1314707: Fix build bustage due to bool/IPCResult changes; r=bustage a=bustage MozReview-Commit-ID: 5LgL1bbKcb0
accessible/ipc/win/DocAccessibleChild.cpp
accessible/ipc/win/DocAccessibleChild.h
--- a/accessible/ipc/win/DocAccessibleChild.cpp
+++ b/accessible/ipc/win/DocAccessibleChild.cpp
@@ -39,30 +39,30 @@ DocAccessibleChild::Shutdown()
     DocAccessibleChildBase::Shutdown();
     return;
   }
 
   PushDeferredEvent(MakeUnique<SerializedShutdown>(this));
   DetachDocument();
 }
 
-ipc::IPCResult
+bool
 DocAccessibleChild::RecvParentCOMProxy(const IAccessibleHolder& aParentCOMProxy)
 {
   MOZ_ASSERT(!mParentProxy && !aParentCOMProxy.IsNull());
   mParentProxy.reset(const_cast<IAccessibleHolder&>(aParentCOMProxy).Release());
   SetConstructedInParentProcess();
 
   for (uint32_t i = 0, l = mDeferredEvents.Length(); i < l; ++i) {
     mDeferredEvents[i]->Dispatch();
   }
 
   mDeferredEvents.Clear();
 
-  return IPC_OK();
+  return true;
 }
 
 void
 DocAccessibleChild::PushDeferredEvent(UniquePtr<DeferredEvent> aEvent)
 {
   DocAccessibleChild* topLevelIPCDoc = nullptr;
 
   if (mDoc && mDoc->IsRoot()) {
--- a/accessible/ipc/win/DocAccessibleChild.h
+++ b/accessible/ipc/win/DocAccessibleChild.h
@@ -22,17 +22,17 @@ namespace a11y {
 class DocAccessibleChild : public DocAccessibleChildBase
 {
 public:
   explicit DocAccessibleChild(DocAccessible* aDoc);
   ~DocAccessibleChild();
 
   virtual void Shutdown() override;
 
-  virtual ipc::IPCResult
+  virtual bool
   RecvParentCOMProxy(const IAccessibleHolder& aParentCOMProxy) override;
 
   IAccessible* GetParentIAccessible() const { return mParentProxy.get(); }
 
   bool SendEvent(const uint64_t& aID, const uint32_t& type);
   bool SendHideEvent(const uint64_t& aRootID, const bool& aFromUser);
   bool SendStateChangeEvent(const uint64_t& aID, const uint64_t& aState,
                             const bool& aEnabled);