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

Unified Diff: chrome/renderer/resources/extensions/webview_custom_bindings.js

Issue 189923003: Fix a typo in webview_custom_bindings.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/extensions/webview_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/webview_custom_bindings.js b/chrome/renderer/resources/extensions/webview_custom_bindings.js
index 3eb96cd34353bfa6e07e2826d1ffac233b8e3596..6d98a71f577d0592f4f369e69bb7f512390ea00c 100644
--- a/chrome/renderer/resources/extensions/webview_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/webview_custom_bindings.js
@@ -99,7 +99,8 @@ binding.registerCustomHook(function(bindingsAPI) {
var instanceId = request.args[0];
var id = request.args[1];
if (request.args[2].onclick) {
- contextMenus.handlersForId(instanceId, id)[id] = request.args[2].onclick;
+ webviewContextMenus.handlersForId(instanceId, id)[id] =
+ request.args[2].onclick;
}
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698