Open
Bug 686223
Opened 14 years ago
Updated 3 years ago
child opens PProtocol does not work if namespace is different
Categories
(Core :: IPC, defect)
Tracking
()
NEW
People
(Reporter: romaxa, Unassigned)
Details
Add into PContent.ipdl
rpc protocol PContent
{
child opens PMediaLayersBridge;
}
and declare PMediaLayersBridge in mozilla::layers namespace.
result will be:
c++ -o PContentParent.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include config/gcc_hidden.h -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DEXCLUDE_SKIA_DEPENDENCIES -DOS_LINUX=1 -DOS_POSIX=1 -I../../ipc/ipdl/_ipdlheaders -Iipc/chromium/src -Iipc/glue -I../../ipc/ipdl/_ipdlheaders -Iipc/ipdl -I. -I../../dist/include -I../../dist/include/nsprpub -Iobj-build-qt-ds/dist/include/nspr -Iobj-build-qt-ds/dist/include/nss -fPIC -frtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long -fno-strict-aliasing -pthread -ffunction-sections -fdata-sections -pipe -DDEBUG -D_DEBUG -DTRACING -gdwarf-2 -g -O1 -fno-omit-frame-pointer -DQT_SHARED -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtOpenGL -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/PContentParent.pp obj-build-qt-ds/ipc/ipdl/PContentParent.cpp
In file included from ../../ipc/ipdl/_ipdlheaders/mozilla/layers/PMediaLayersBridgeParent.h:9,
from obj-build-qt-ds/ipc/ipdl/PContentParent.cpp:21:
../../ipc/ipdl/_ipdlheaders/mozilla/layers/PMediaLayersBridge.h:559: error: 'PContentChild' was not declared in this scope
../../ipc/ipdl/_ipdlheaders/mozilla/layers/PMediaLayersBridge.h:559: error: 'opener' was not declared in this scope
PMediaLayersBridge.h has this:
*************************************
namespace mozilla {
namespace dom {
class PContentChild;
} // namespace dom
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PMediaLayersBridgeChild and PMediaLayersBridgeParent
//
namespace mozilla {
namespace layers {
namespace PMediaLayersBridge {
bool
Open(PContentChild* opener);
*************************************
and it should be
Open(mozilla::dom::PContentChild* opener);
| Reporter | ||
Comment 1•14 years ago
|
||
Same problem for Bridge declaration, when we do create bride between PContent and PPluginModule which are in different namespaces
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•