Merge pull request #8684 from electron/compiler-error
Rename variable for compiler error
This commit is contained in:
commit
fe59f413f6
1 changed files with 3 additions and 3 deletions
|
@ -1506,9 +1506,9 @@ void WebContents::Invalidate() {
|
|||
if (osr_rwhv)
|
||||
osr_rwhv->Invalidate();
|
||||
} else {
|
||||
const auto owner_window = owner_window();
|
||||
if (owner_window)
|
||||
owner_window->Invalidate();
|
||||
const auto window = owner_window();
|
||||
if (window)
|
||||
window->Invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue