summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/resources/app_window_custom_bindings.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/renderer/resources/app_window_custom_bindings.js')
-rw-r--r--extensions/renderer/resources/app_window_custom_bindings.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/renderer/resources/app_window_custom_bindings.js b/extensions/renderer/resources/app_window_custom_bindings.js
index 3800bea..b0ae54f 100644
--- a/extensions/renderer/resources/app_window_custom_bindings.js
+++ b/extensions/renderer/resources/app_window_custom_bindings.js
@@ -118,8 +118,10 @@ appWindow.registerCustomHook(function(bindingsAPI) {
var view = null;
// When window creation fails, |windowParams| will be undefined.
- if (windowParams && windowParams.frameId)
- view = appWindowNatives.GetFrame(windowParams.frameId);
+ if (windowParams && windowParams.frameId) {
+ view = appWindowNatives.GetFrame(
+ windowParams.frameId, true /* notifyBrowser */);
+ }
if (!view) {
// No route to created window. If given a callback, trigger it with an