Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index 1145ad48e786ccb1745b6005e51551e702b36362..b18b93a63518f976b00ff36c570f4b5ae57c7346 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -466,10 +466,9 @@ |
void ThreadProxy::SetDeferCommits(bool defer_commits) { |
DCHECK(IsMainThread()); |
- if (main().defer_commits == defer_commits) |
- return; |
- |
+ DCHECK_NE(main().defer_commits, defer_commits); |
main().defer_commits = defer_commits; |
+ |
if (main().defer_commits) |
TRACE_EVENT_ASYNC_BEGIN0("cc", "ThreadProxy::SetDeferCommits", this); |
else |