mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug 1627075 - Include WebGLParent.h in WebGLChild.h r=handyman,jgilbert
Depends on D77634 Differential Revision: https://phabricator.services.mozilla.com/D79536
This commit is contained in:
parent
b274aafa4b
commit
13300d3228
@ -11,6 +11,16 @@
|
|||||||
#include "mozilla/dom/PWebGLChild.h"
|
#include "mozilla/dom/PWebGLChild.h"
|
||||||
#include "mozilla/dom/IpdlQueue.h"
|
#include "mozilla/dom/IpdlQueue.h"
|
||||||
|
|
||||||
|
// This is a bit weird. Nothing directly in WebGLChild.h necessitates including
|
||||||
|
// WebGLParent.h, but if we don't do this, we get compiler errors in the
|
||||||
|
// generated code inside PWebGLChild.cpp. The error is due to a complex
|
||||||
|
// dependency chain involving IpdlQueue, which I won't go into here. Including
|
||||||
|
// WebGLParent.h inside WebGLChild.h is the simplest way we could think of to
|
||||||
|
// avoid this issue. Including it in any of the code more directly involved in
|
||||||
|
// the breaking dependency chain unfortunately introduces a cyclical dependency
|
||||||
|
// between WebGLParent.h and PWebGLParent.h.
|
||||||
|
#include "mozilla/dom/WebGLParent.h"
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
|
|
||||||
class ClientWebGLContext;
|
class ClientWebGLContext;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user