-RelayoutController* RelayoutController::Get()
-{
- return &ThreadLocalStorage::Get().GetRelayoutController();
-}
-
-RelayoutController::RelayoutController()
-: mRelayoutInfoAllocator(),
- mSlotDelegate( this ),
- mRelayoutStack( new MemoryPoolRelayoutContainer( mRelayoutInfoAllocator ) ),
- mRelayoutConnection( false ),
- mRelayoutFlag( false ),
- mEnabled( false ),
- mPerformingRelayout( false )
+RelayoutController::RelayoutController(Integration::RenderController& controller)
+: mRenderController(controller),
+ mRelayoutInfoAllocator(),
+ mSlotDelegate(this),
+ mRelayoutStack(new MemoryPoolRelayoutContainer(mRelayoutInfoAllocator)),
+ mRelayoutConnection(false),
+ mRelayoutFlag(false),
+ mEnabled(false),
+ mPerformingRelayout(false),
+ mProcessingCoreEvents(false)