Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1463)

Unified Diff: extensions/renderer/api_bindings_system.cc

Issue 2949143002: [Extensions Bindings] Support ArrayBufferView in idl files (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/renderer/api_bindings_system.cc
diff --git a/extensions/renderer/api_bindings_system.cc b/extensions/renderer/api_bindings_system.cc
index 11011903e7de4f31ead43ec423f64df01c36843b..be100cdd19bdf204bda505abe52d04054d078e85 100644
--- a/extensions/renderer/api_bindings_system.cc
+++ b/extensions/renderer/api_bindings_system.cc
@@ -90,7 +90,7 @@ void APIBindingsSystem::InitializeType(const std::string& type_name) {
std::string api_name = type_name.substr(0, dot);
// If we've already instantiated the binding, the type should have been in
// there.
- DCHECK(api_bindings_.find(api_name) == api_bindings_.end());
+ DCHECK(api_bindings_.find(api_name) == api_bindings_.end()) << api_name;
api_bindings_[api_name] = CreateNewAPIBinding(api_name);
}

Powered by Google App Engine
This is Rietveld 408576698