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

Unified Diff: content/browser/gpu/compositor_util.h

Issue 212003002: Re-land: content: Avoid duplicating the logic used to determine GPU features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use IsDelegatedRendererEnabled in RenderWidgetHostViewAndroid Created 6 years, 9 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: content/browser/gpu/compositor_util.h
diff --git a/content/browser/gpu/compositor_util.h b/content/browser/gpu/compositor_util.h
index fec252f6cbbe8052893fe02e2b52ac09e6814bb2..ba135db6f8f6ed04d5dbd157b75cfa8dec0d1334 100644
--- a/content/browser/gpu/compositor_util.h
+++ b/content/browser/gpu/compositor_util.h
@@ -10,6 +10,9 @@
namespace content {
+// Note: When adding a function here, please make sure the logic is not
+// duplicated in the renderer.
+
// Returns true if the threaded compositor is on (via flags or field trial).
CONTENT_EXPORT bool IsThreadedCompositingEnabled();

Powered by Google App Engine
This is Rietveld 408576698