зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset ef83f24a68ac (bug 1505897) for mochitest crashes on test_mq_prefers_reduced_motion_dynamic.html. CLOSED TREE
This commit is contained in:
Родитель
c9b70719c8
Коммит
9a9848c838
|
@ -284,8 +284,6 @@ public class GeckoThread extends Thread {
|
||||||
|
|
||||||
final String resourcePath = context.getPackageResourcePath();
|
final String resourcePath = context.getPackageResourcePath();
|
||||||
|
|
||||||
GeckoSystemStateListener.getInstance().initialize(context);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
loadGeckoLibs(context, resourcePath);
|
loadGeckoLibs(context, resourcePath);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -232,6 +232,8 @@ public final class GeckoRuntime implements Parcelable {
|
||||||
|
|
||||||
// Initialize the system ClipboardManager by accessing it on the main thread.
|
// Initialize the system ClipboardManager by accessing it on the main thread.
|
||||||
GeckoAppShell.getApplicationContext().getSystemService(Context.CLIPBOARD_SERVICE);
|
GeckoAppShell.getApplicationContext().getSystemService(Context.CLIPBOARD_SERVICE);
|
||||||
|
|
||||||
|
GeckoSystemStateListener.getInstance().initialize(context);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -412,7 +412,6 @@ nsAppShell::nsAppShell()
|
||||||
if (jni::IsAvailable()) {
|
if (jni::IsAvailable()) {
|
||||||
GeckoThreadSupport::Init();
|
GeckoThreadSupport::Init();
|
||||||
GeckoAppShellSupport::Init();
|
GeckoAppShellSupport::Init();
|
||||||
mozilla::GeckoSystemStateListener::Init();
|
|
||||||
mozilla::widget::Telemetry::Init();
|
mozilla::widget::Telemetry::Init();
|
||||||
|
|
||||||
// Set the corresponding state in GeckoThread.
|
// Set the corresponding state in GeckoThread.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче