Bug 1318045 - Fix unified build errors from moving CrossProcessCompositorBridgeParent r=bas
This commit is contained in:
@@ -193,8 +193,8 @@ CompositorBridgeParent::LayerTreeState::~LayerTreeState()
|
||||
}
|
||||
|
||||
typedef map<uint64_t, CompositorBridgeParent::LayerTreeState> LayerTreeMap;
|
||||
static LayerTreeMap sIndirectLayerTrees;
|
||||
static StaticAutoPtr<mozilla::Monitor> sIndirectLayerTreesLock;
|
||||
LayerTreeMap sIndirectLayerTrees;
|
||||
StaticAutoPtr<mozilla::Monitor> sIndirectLayerTreesLock;
|
||||
|
||||
static void EnsureLayerTreeMapReady()
|
||||
{
|
||||
@@ -1537,7 +1537,7 @@ CompositorBridgeParent::RecvAdoptChild(const uint64_t& child)
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
EraseLayerState(uint64_t aId)
|
||||
{
|
||||
MonitorAutoLock lock(*sIndirectLayerTreesLock);
|
||||
@@ -1871,7 +1871,7 @@ CompositorBridgeParent::CreateForContent(Endpoint<PCompositorBridgeParent>&& aEn
|
||||
return true;
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
UpdateIndirectTree(uint64_t aId, Layer* aRoot, const TargetConfig& aTargetConfig)
|
||||
{
|
||||
MonitorAutoLock lock(*sIndirectLayerTreesLock);
|
||||
|
||||
@@ -86,6 +86,7 @@
|
||||
#endif
|
||||
|
||||
#include "LayerScope.h"
|
||||
using namespace std;
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
@@ -95,6 +96,8 @@ namespace layers {
|
||||
typedef map<uint64_t, CompositorBridgeParent::LayerTreeState> LayerTreeMap;
|
||||
extern LayerTreeMap sIndirectLayerTrees;
|
||||
extern StaticAutoPtr<mozilla::Monitor> sIndirectLayerTreesLock;
|
||||
void UpdateIndirectTree(uint64_t aId, Layer* aRoot, const TargetConfig& aTargetConfig);
|
||||
void EraseLayerState(uint64_t aId);
|
||||
|
||||
mozilla::ipc::IPCResult
|
||||
CrossProcessCompositorBridgeParent::RecvRequestNotifyAfterRemotePaint()
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#define mozilla_layers_CrossProcessCompositorBridgeParent_h
|
||||
|
||||
#include "mozilla/layers/CompositorBridgeParent.h"
|
||||
#include "mozilla/layers/CompositorThread.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
||||
Reference in New Issue
Block a user