Index: cc/resources/ui_resource_request.cc |
diff --git a/cc/resources/ui_resource_request.cc b/cc/resources/ui_resource_request.cc |
index 28fd7f3602f79ce7c558aebcd540c45e9f60749c..a51e307bff6e102b4b5945bf831a9371ebfcdd02 100644 |
--- a/cc/resources/ui_resource_request.cc |
+++ b/cc/resources/ui_resource_request.cc |
@@ -10,7 +10,9 @@ namespace cc { |
UIResourceRequest::UIResourceRequest(UIResourceRequestType type, |
UIResourceId id) |
- : type_(type), id_(id) {} |
+ : type_(type), id_(id) { |
+ DCHECK(type == UIResourceRequestType.DELETE); |
vmpstr
2016/07/15 21:29:23
This should be UI_RESOURCE_DELETE, right? from htt
Donn Denman
2016/07/15 22:05:56
Gee, how did that even compile? I'm pretty sure I
|
+} |
UIResourceRequest::UIResourceRequest(UIResourceRequestType type, |
UIResourceId id, |