Merge pull request #8684 from electron/compiler-error

Rename variable for compiler error
This commit is contained in:
Kevin Sawicki 2017-02-14 12:40:21 -08:00 committed by GitHub
commit fe59f413f6

View file

@ -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();
}
}