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 89b9f3844a
commit a9265a1b96
8 changed files with 18 additions and 18 deletions

View File

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

View File

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

View File

@@ -18,13 +18,13 @@ using mozilla::ipc::PTestShellCommandParent;
using mozilla::dom::ContentParent; using mozilla::dom::ContentParent;
PTestShellCommandParent* PTestShellCommandParent*
TestShellParent::AllocPTestShellCommand(const nsString& aCommand) TestShellParent::AllocPTestShellCommandParent(const nsString& aCommand)
{ {
return new TestShellCommandParent(); return new TestShellCommandParent();
} }
bool bool
TestShellParent::DeallocPTestShellCommand(PTestShellCommandParent* aActor) TestShellParent::DeallocPTestShellCommandParent(PTestShellCommandParent* aActor)
{ {
delete aActor; delete aActor;
return true; return true;

View File

@@ -28,10 +28,10 @@ class TestShellParent : public PTestShellParent
{ {
public: public:
PTestShellCommandParent* PTestShellCommandParent*
AllocPTestShellCommand(const nsString& aCommand); AllocPTestShellCommandParent(const nsString& aCommand);
bool bool
DeallocPTestShellCommand(PTestShellCommandParent* aActor); DeallocPTestShellCommandParent(PTestShellCommandParent* aActor);
bool bool
CommandDone(TestShellCommandParent* aActor, const nsString& aResponse); CommandDone(TestShellCommandParent* aActor, const nsString& aResponse);

View File

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

View File

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

View File

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

View File

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