From 5cb664868636e95f6acf4689cac4203f00dc3667 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 14 Feb 2017 11:12:30 -0800 Subject: [PATCH] Use underscore variable name for consistency --- atom/browser/api/atom_api_web_contents.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index bd57bc217f6..5834e4c7b33 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -1495,9 +1495,9 @@ void WebContents::Invalidate() { if (osr_rwhv) osr_rwhv->Invalidate(); } else { - const auto ownerWindow = owner_window(); - if (ownerWindow) - ownerWindow->Invalidate(); + const auto owner_window = owner_window(); + if (owner_window) + owner_window->Invalidate(); } }