Index: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp |
index 8a18c6a2c8a85638165e3f3dac308be7dae57d31..861f3610348f539eadfabaaf5dc78278332f8ce1 100644 |
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp |
@@ -178,10 +178,10 @@ void OffscreenCanvasFrameDispatcherImpl::dispatchFrame( |
resource.is_overlay_candidate = false; |
if (!image->isTextureBacked() && |
- !RuntimeEnabledFeatures::gpuCompositingEnabled()) |
+ !Platform::current()->isGPUCompositingEnabled()) |
setTransferableResourceInMemory(resource, image); |
else if (!image->isTextureBacked() && |
- RuntimeEnabledFeatures::gpuCompositingEnabled()) |
+ Platform::current()->isGPUCompositingEnabled()) |
setTransferableResourceMemoryToTexture(resource, image); |
else |
setTransferableResourceInTexture(resource, image); |