Bug 792652 - Stop generating code for toplevel-only methods in non-toplevel protocols (r=dvander)

Moves OnProcessingError, OnChannelError, OnChannelConnected so that they're
only generated for toplevel protocols. For some reason APZCTreeManagerChild
implemented OnProcessingError. I'm not sure what the intention was there so
I removed it.
This commit is contained in:
Bill McCloskey
2016-10-31 15:50:43 -07:00
parent 48c3f2b19c
commit 1bebd37d0c
3 changed files with 20 additions and 59 deletions

View File

@@ -262,13 +262,5 @@ APZCTreeManagerChild::RecvNotifyPinchGesture(const PinchGestureType& aType,
return true;
}
void
APZCTreeManagerChild::OnProcessingError(
Result aCode,
const char* aReason)
{
MOZ_RELEASE_ASSERT(aCode != MsgDropped);
}
} // namespace layers
} // namespace mozilla