| Index: sky/engine/platform/graphics/gpu/DrawingBuffer.cpp
|
| diff --git a/sky/engine/platform/graphics/gpu/DrawingBuffer.cpp b/sky/engine/platform/graphics/gpu/DrawingBuffer.cpp
|
| index dd5d8d461358dc0584b12aaf1fb167d8f6da8d9c..877e3c742d983020a9ebe5a38e5728e994665364 100644
|
| --- a/sky/engine/platform/graphics/gpu/DrawingBuffer.cpp
|
| +++ b/sky/engine/platform/graphics/gpu/DrawingBuffer.cpp
|
| @@ -38,7 +38,6 @@
|
| #include "sky/engine/platform/graphics/ImageBuffer.h"
|
| #include "sky/engine/platform/graphics/gpu/Extensions3DUtil.h"
|
| #include "sky/engine/public/platform/Platform.h"
|
| -#include "sky/engine/public/platform/WebCompositorSupport.h"
|
| #include "sky/engine/public/platform/WebExternalBitmap.h"
|
| #include "sky/engine/public/platform/WebExternalTextureLayer.h"
|
| #include "sky/engine/public/platform/WebGraphicsContext3D.h"
|
| @@ -505,7 +504,8 @@ Platform3DObject DrawingBuffer::framebuffer() const
|
| WebLayer* DrawingBuffer::platformLayer()
|
| {
|
| if (!m_layer) {
|
| - m_layer = adoptPtr(Platform::current()->compositorSupport()->createExternalTextureLayer(this));
|
| + m_layer = nullptr;
|
| + CRASH(); // No compositor.
|
|
|
| m_layer->setOpaque(!m_actualAttributes.alpha);
|
| m_layer->setBlendBackgroundColor(m_actualAttributes.alpha);
|
|
|