Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp

Issue 2391753003: Stop exposing --disable-gpu-compositing as a Blink RuntimeEnabledFeature (Closed)
Patch Set: simplify changes Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698