Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index 3dbf0d6297701b03e054f467542c09dc7ae7e37e..e16adb9a5508d09e39f889b175618d4c80ec3b51 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -454,10 +454,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 |