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

Unified Diff: extensions/renderer/api_bindings_system.cc

Issue 2718543004: [Extensions Bindings] Add ChromeSetting custom type (Closed)
Patch Set: . Created 3 years, 10 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 02680c4d05e1b2c2197d6b44b1b9a22103c8db9b..3c02527ceb6a445837f040eaa178968aedbfe7ba 100644
--- a/extensions/renderer/api_bindings_system.cc
+++ b/extensions/renderer/api_bindings_system.cc
@@ -131,7 +131,7 @@ v8::Local<v8::Object> APIBindingsSystem::CreateCustomType(
auto iter = custom_types_.find(type_name);
DCHECK(iter != custom_types_.end()) << "Custom type not found: " << type_name;
return iter->second.Run(context, property_name, &request_handler_,
- &type_reference_map_);
+ &event_handler_, &type_reference_map_);
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698