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

Unified Diff: third_party/WebKit/public/platform/Platform.h

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/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index ff4e822dfd09b365bcf7f9a335d67499517ea6fc..94d67e9720324c1b7f1f745a3d21f479dfc92aec 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -554,6 +554,12 @@ class BLINK_PLATFORM_EXPORT Platform {
return nullptr;
}
+ // Whether the command line flag: --disable-gpu-compositing or --disable-gpu
+ // exists or not
+ // NOTE: This function should not be called from core/ and modules/, but
+ // called by platform/graphics/ is fine.
+ virtual bool isGPUCompositingEnabled() { return true; }
+
// WebRTC ----------------------------------------------------------
// Creates a WebRTCPeerConnectionHandler for RTCPeerConnection.
« no previous file with comments | « third_party/WebKit/Source/web/WebRuntimeFeatures.cpp ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698