Skip to content

Commit 6d11b13

Browse files
hujiajierogerwang
authored andcommitted
Fix a suspicious typo.
Also remove redundant whitespaces in the adjacent empty line.
1 parent 406d3c1 commit 6d11b13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderer/nw_extensions_renderer_hooks.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ void ContextCreationHook(blink::WebLocalFrame* frame, ScriptContext* context) {
201201

202202
bool mixed_context = false;
203203
bool node_init_run = false;
204-
bool nwjs_guest = nwjs_guest = command_line.HasSwitch("nwjs-guest");
205-
204+
bool nwjs_guest = command_line.HasSwitch("nwjs-guest");
205+
206206
if (extension)
207207
extension->manifest()->GetBoolean(manifest_keys::kNWJSMixedContext, &mixed_context);
208208
// handle navigation in webview #5622

0 commit comments

Comments
 (0)