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

Unified Diff: extensions/renderer/resources/extension_custom_bindings.js

Issue 302463005: Add support for AMD to the extensions module system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/resources/extension_custom_bindings.js
diff --git a/extensions/renderer/resources/extension_custom_bindings.js b/extensions/renderer/resources/extension_custom_bindings.js
index d114f527f56e92418cb4c8b54a4623b7d3a7b145..8a2da32eb892262e626a154104acf2dd7e2a235a 100644
--- a/extensions/renderer/resources/extension_custom_bindings.js
+++ b/extensions/renderer/resources/extension_custom_bindings.js
@@ -7,7 +7,7 @@
var binding = require('binding').Binding.create('extension');
var messaging = require('messaging');
-var runtimeNatives = requireNative('runtime');
+var runtimeNatives = requireNative('runtime_natives');
var GetExtensionViews = runtimeNatives.GetExtensionViews;
var OpenChannelToExtension = runtimeNatives.OpenChannelToExtension;
var OpenChannelToNativeApp = runtimeNatives.OpenChannelToNativeApp;
« no previous file with comments | « extensions/renderer/resources/entry_id_manager.js ('k') | extensions/renderer/resources/i18n_custom_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698