Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index fc3065b462bf515dae314a16ebc48e2387c2a22e..b649463cfe3b9a6ecfd056aab83135dc16d65e27 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -3681,6 +3681,7 @@ void LayerTreeHostImpl::SetDebugState( |
void LayerTreeHostImpl::CreateUIResource(UIResourceId uid, |
const UIResourceBitmap& bitmap) { |
DCHECK_GT(uid, 0); |
+ DCHECK(&bitmap); |
vmpstr
2016/07/15 21:29:23
This shouldn't be here. We should be DCHECKing at
Donn Denman
2016/07/15 22:05:56
Removed.
|
// Allow for multiple creation requests with the same UIResourceId. The |
// previous resource is simply deleted. |