Index: cc/single_thread_proxy.cc |
diff --git a/cc/single_thread_proxy.cc b/cc/single_thread_proxy.cc |
index 9cccd0ff4952f34e64da2e3ff07af342fbbef60f..96418bbaa268ba764f8928a08e9ea4aff8281796 100644 |
--- a/cc/single_thread_proxy.cc |
+++ b/cc/single_thread_proxy.cc |
@@ -29,6 +29,10 @@ SingleThreadProxy::SingleThreadProxy(LayerTreeHost* layerTreeHost) |
{ |
TRACE_EVENT0("cc", "SingleThreadProxy::SingleThreadProxy"); |
DCHECK(Proxy::isMainThread()); |
+ DCHECK(layerTreeHost); |
+ |
+ // Impl-side painting not supported without threaded compositing |
+ DCHECK(!layerTreeHost->settings().implSidePainting); |
} |
void SingleThreadProxy::start() |
@@ -361,9 +365,6 @@ bool SingleThreadProxy::doComposite() |
m_layerTreeHostImpl->animate(base::TimeTicks::Now(), base::Time::Now()); |
- if (m_layerTreeHostImpl->settings().implSidePainting) |
- m_layerTreeHostImpl->manageTiles(); |
- |
// We guard prepareToDraw() with canDraw() because it always returns a valid frame, so can only |
// be used when such a frame is possible. Since drawLayers() depends on the result of |
// prepareToDraw(), it is guarded on canDraw() as well. |