Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent

This commit is contained in:
Thinker Lee
2013-06-03 18:14:37 +08:00
parent 203fc6d591
commit 894dfd9896
23 changed files with 278 additions and 17 deletions

View File

@@ -77,6 +77,9 @@ class JavaScriptParent
static bool DOMInstanceOf(JSObject *obj, int prototypeID, int depth, bool *bp);
bool domInstanceOf(JSObject *obj, int prototypeID, int depth, bool *bp);
mozilla::ipc::IProtocol*
CloneProtocol(Channel* aChannel, ProtocolCloneContext* aCtx) MOZ_OVERRIDE;
protected:
JSObject *unwrap(JSContext *cx, ObjectId objId);