Descriptionchrome: bluetooth: create BluetoothManager after about:flags parsed
This CL fixes a crash that occurs if --enable-bluetooth is set via the
chrome://flags page. The UI attempts to interact with the
BluetoothManager, but neither the BluetoothManager nor the underlying
bluetooth dbus clients have been created because the parsed command
line was tested for --enable-bluetooth prior to the about:flags flags
being added to it.
We resolve this issue by unconditionally creating the bluetooth dbus
clients and deferring conditional creation of the BluetoothManager until
after the about:flags flags are added to the parsed command line.
BUG=chromium-os:22877
TEST=Visit chrome://flags. Enable bluetooth. Restart. Visit
chrome://settings/system and observe that Chrome doesn't crash.
Change-Id: Ib5deed32200afa8c1e9455abc72cefb7e5183da2
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110375
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|