mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 766867 - Use null-safe string comparison for oldURL. r=mbrubeck
This commit is contained in:
parent
eafb7a19b9
commit
9784b4c6f0
@ -1389,7 +1389,8 @@ abstract public class GeckoApp
|
||||
final String oldURL = tab.getURL();
|
||||
GeckoAppShell.getHandler().postDelayed(new Runnable() {
|
||||
public void run() {
|
||||
if (!oldURL.equals(tab.getURL()))
|
||||
// tab.getURL() may return null
|
||||
if (!TextUtils.equals(oldURL, tab.getURL()))
|
||||
return;
|
||||
|
||||
getAndProcessThumbnailForTab(tab);
|
||||
|
Loading…
Reference in New Issue
Block a user