Index: content/renderer/web_ui_bindings.cc |
diff --git a/content/renderer/web_ui_bindings.cc b/content/renderer/web_ui_bindings.cc |
index 98a83c585f93658268c5f48dd9840d8c5e5943e0..97037a4533def65cf1cff81099762c36f9257f74 100644 |
--- a/content/renderer/web_ui_bindings.cc |
+++ b/content/renderer/web_ui_bindings.cc |
@@ -77,7 +77,7 @@ void WebUIBindings::send(const CppArgumentList& args, CppVariant* result) { |
return; |
content.reset(CreateValueFromCppVariant(args[1])); |
- CHECK(content->AsList()); |
+ CHECK(content->IsType(Value::TYPE_LIST)); |
} else { |
content.reset(new ListValue()); |
} |