Fix missed renamings from empty() to is_empty()

Those were missed in #44401 or added by later PRs.
This commit is contained in:
Rémi Verschelde 2020-12-29 09:54:59 +01:00
parent c6e9d912e1
commit 09212fba1e
No known key found for this signature in database
GPG key ID: C3336907360768E1
12 changed files with 18 additions and 18 deletions

View file

@ -93,7 +93,7 @@ EM_BOOL DisplayServerJavaScript::fullscreen_change_callback(int p_event_type, co
DisplayServerJavaScript *display = get_singleton();
// Empty ID is canvas.
String target_id = String::utf8(p_event->id);
if (target_id.empty() || target_id == String::utf8(display->canvas_id)) {
if (target_id.is_empty() || target_id == String::utf8(display->canvas_id)) {
// This event property is the only reliable data on
// browser fullscreen state.
if (p_event->isFullscreen) {