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