Bug 885804: Renaming in js/layout/ipc r=roc

This commit is contained in:
David Zbarsky 2013-07-08 11:48:39 -04:00
parent 98e27c4290
commit bd69568121
8 changed files with 18 additions and 18 deletions

View File

@ -25,13 +25,13 @@ TestShellChild::RecvExecuteCommand(const nsString& aCommand)
}
PTestShellCommandChild*
TestShellChild::AllocPTestShellCommand(const nsString& aCommand)
TestShellChild::AllocPTestShellCommandChild(const nsString& aCommand)
{
return new PTestShellCommandChild();
}
bool
TestShellChild::DeallocPTestShellCommand(PTestShellCommandChild* aCommand)
TestShellChild::DeallocPTestShellCommandChild(PTestShellCommandChild* aCommand)
{
delete aCommand;
return true;

View File

@ -26,14 +26,14 @@ public:
RecvExecuteCommand(const nsString& aCommand);
PTestShellCommandChild*
AllocPTestShellCommand(const nsString& aCommand);
AllocPTestShellCommandChild(const nsString& aCommand);
bool
RecvPTestShellCommandConstructor(PTestShellCommandChild* aActor,
const nsString& aCommand);
bool
DeallocPTestShellCommand(PTestShellCommandChild* aCommand);
DeallocPTestShellCommandChild(PTestShellCommandChild* aCommand);
private:
nsAutoPtr<XPCShellEnvironment> mXPCShell;

View File

@ -18,13 +18,13 @@ using mozilla::ipc::PTestShellCommandParent;
using mozilla::dom::ContentParent;
PTestShellCommandParent*
TestShellParent::AllocPTestShellCommand(const nsString& aCommand)
TestShellParent::AllocPTestShellCommandParent(const nsString& aCommand)
{
return new TestShellCommandParent();
}
bool
TestShellParent::DeallocPTestShellCommand(PTestShellCommandParent* aActor)
TestShellParent::DeallocPTestShellCommandParent(PTestShellCommandParent* aActor)
{
delete aActor;
return true;
@ -74,7 +74,7 @@ TestShellCommandParent::RunCallback(const nsString& aResponse)
JS::Rooted<JS::Value> rval(mCx);
JSBool ok = JS_CallFunctionValue(mCx, global, mCallback, 1, strVal.address(),
rval.address());
rval.address());
NS_ENSURE_TRUE(ok, JS_FALSE);
return JS_TRUE;

View File

@ -28,10 +28,10 @@ class TestShellParent : public PTestShellParent
{
public:
PTestShellCommandParent*
AllocPTestShellCommand(const nsString& aCommand);
AllocPTestShellCommandParent(const nsString& aCommand);
bool
DeallocPTestShellCommand(PTestShellCommandParent* aActor);
DeallocPTestShellCommandParent(PTestShellCommandParent* aActor);
bool
CommandDone(TestShellCommandParent* aActor, const nsString& aResponse);
@ -54,7 +54,7 @@ protected:
bool ExecuteCallback(const nsString& aResponse);
void ActorDestroy(ActorDestroyReason why);
bool Recv__delete__(const nsString& aResponse) {
return ExecuteCallback(aResponse);
}

View File

@ -45,13 +45,13 @@ RenderFrameChild::DetectScrollableSubframe()
}
PLayerTransactionChild*
RenderFrameChild::AllocPLayerTransaction()
RenderFrameChild::AllocPLayerTransactionChild()
{
return new LayerTransactionChild();
}
bool
RenderFrameChild::DeallocPLayerTransaction(PLayerTransactionChild* aLayers)
RenderFrameChild::DeallocPLayerTransactionChild(PLayerTransactionChild* aLayers)
{
delete aLayers;
return true;

View File

@ -25,8 +25,8 @@ public:
void Destroy();
protected:
virtual PLayerTransactionChild* AllocPLayerTransaction() MOZ_OVERRIDE;
virtual bool DeallocPLayerTransaction(PLayerTransactionChild* aLayers) MOZ_OVERRIDE;
virtual PLayerTransactionChild* AllocPLayerTransactionChild() MOZ_OVERRIDE;
virtual bool DeallocPLayerTransactionChild(PLayerTransactionChild* aLayers) MOZ_OVERRIDE;
};
} // namespace layout

View File

@ -846,7 +846,7 @@ RenderFrameParent::RecvDetectScrollableSubframe()
}
PLayerTransactionParent*
RenderFrameParent::AllocPLayerTransaction()
RenderFrameParent::AllocPLayerTransactionParent()
{
if (!mFrameLoader || mFrameLoaderDestroyed) {
return nullptr;
@ -856,7 +856,7 @@ RenderFrameParent::AllocPLayerTransaction()
}
bool
RenderFrameParent::DeallocPLayerTransaction(PLayerTransactionParent* aLayers)
RenderFrameParent::DeallocPLayerTransactionParent(PLayerTransactionParent* aLayers)
{
delete aLayers;
return true;

View File

@ -112,8 +112,8 @@ protected:
virtual bool RecvCancelDefaultPanZoom() MOZ_OVERRIDE;
virtual bool RecvDetectScrollableSubframe() MOZ_OVERRIDE;
virtual PLayerTransactionParent* AllocPLayerTransaction() MOZ_OVERRIDE;
virtual bool DeallocPLayerTransaction(PLayerTransactionParent* aLayers) MOZ_OVERRIDE;
virtual PLayerTransactionParent* AllocPLayerTransactionParent() MOZ_OVERRIDE;
virtual bool DeallocPLayerTransactionParent(PLayerTransactionParent* aLayers) MOZ_OVERRIDE;
private:
void BuildViewMap();