Closed Bug 805600 Opened 8 years ago Closed 8 years ago

Remove GeckoApp.sIsGeckoReady

Categories

(Firefox for Android :: General, defect)

x86
Android
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 19

People

(Reporter: gbrown, Assigned: gbrown)

Details

Attachments

(1 file)

GeckoApp.sIsGeckoReady appears to be redundant. We should use GeckoApp.LaunchState instead.
This is a pretty trivial change: sIsGeckoReady -> checkLaunchState(LaunchState.GeckoRunning), suggested by :blassey. 

Strictly speaking sIsGeckoReady is equivalent to checkLaunchState(GeckoRunning) || checkLaunchState(GeckoExiting), but as sIsGeckoReady is used, I think it is safe to eliminate the exiting cases.
Attachment #675708 - Flags: review?(bugmail.mozilla)
Comment on attachment 675708 [details] [diff] [review]
code cleanup: remove sIsGeckoReady

Review of attachment 675708 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM
Attachment #675708 - Flags: review?(bugmail.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/fdefe523f873
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
You need to log in before you can comment on or make changes to this bug.