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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 14269002: cc: Clarify text for single thread + impl-painting CHECK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 31a7054b65436d5f4be58cc560d48338b846ad6f..87b38d500a6f7f5a1d8b81207bbdb8f70f920fc1 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -35,7 +35,8 @@ SingleThreadProxy::SingleThreadProxy(LayerTreeHost* layer_tree_host)
DCHECK(layer_tree_host);
// Impl-side painting not supported without threaded compositing.
- CHECK(!layer_tree_host->settings().impl_side_painting);
+ CHECK(!layer_tree_host->settings().impl_side_painting)
+ << "Threaded compositing must be enabled to use impl-side painting.";
}
void SingleThreadProxy::Start() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698