Index: extensions/renderer/api_binding.h |
diff --git a/extensions/renderer/api_binding.h b/extensions/renderer/api_binding.h |
index b4353a95276c3cc5c643365a3b09326dc8838ff4..4c23f54e28b7c2aa274de5cd20aaac778f9cf7bd 100644 |
--- a/extensions/renderer/api_binding.h |
+++ b/extensions/renderer/api_binding.h |
@@ -57,10 +57,10 @@ class APIBinding { |
using HandlerCallback = base::Callback<void(gin::Arguments*)>; |
// The ArgumentSpec::RefMap is required to outlive this object. |
- // |type_definitions| and |event_definitions| may be null if the API does not |
- // specify any types or events. |
+ // |function_definitions|, |type_definitions| and |event_definitions| |
+ // may be null if the API does not specify any of that category. |
APIBinding(const std::string& name, |
- const base::ListValue& function_definitions, |
+ const base::ListValue* function_definitions, |
const base::ListValue* type_definitions, |
const base::ListValue* event_definitions, |
const APIMethodCallback& callback, |