зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 8063ff05e5b1 (bug 1678487) for causing windows widget xpc failures. CLOSED TREE
This commit is contained in:
Родитель
70745d052e
Коммит
d65394b9d6
|
@ -14,7 +14,6 @@
|
||||||
#include "js/Printf.h"
|
#include "js/Printf.h"
|
||||||
#include "js/PropertySpec.h"
|
#include "js/PropertySpec.h"
|
||||||
#include "js/SourceText.h" // JS::SourceText
|
#include "js/SourceText.h" // JS::SourceText
|
||||||
#include "gfxPlatform.h"
|
|
||||||
#include "mozilla/ChaosMode.h"
|
#include "mozilla/ChaosMode.h"
|
||||||
#include "mozilla/dom/ScriptSettings.h"
|
#include "mozilla/dom/ScriptSettings.h"
|
||||||
#include "mozilla/IOInterposer.h"
|
#include "mozilla/IOInterposer.h"
|
||||||
|
@ -1306,10 +1305,6 @@ int XRE_XPCShellMain(int argc, char** argv, char** envp,
|
||||||
CodeCoverageHandler::Init();
|
CodeCoverageHandler::Init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Ensure gfxPlatform is initialized to make sure CMS state some test want
|
|
||||||
// to use is set up.
|
|
||||||
gfxPlatform::GetPlatform();
|
|
||||||
|
|
||||||
{
|
{
|
||||||
if (!glob) {
|
if (!glob) {
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
#include "nsICrashReporter.h"
|
#include "nsICrashReporter.h"
|
||||||
#include "testing/TestHarness.h"
|
#include "testing/TestHarness.h"
|
||||||
#include "prenv.h"
|
#include "prenv.h"
|
||||||
#include "gfxPlatform.h"
|
|
||||||
#ifdef ANDROID
|
#ifdef ANDROID
|
||||||
# include <android/log.h>
|
# include <android/log.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -125,11 +124,6 @@ int RunGTestFunc(int* argc, char** argv) {
|
||||||
char* path = PR_GetEnv("MOZ_GTEST_CWD");
|
char* path = PR_GetEnv("MOZ_GTEST_CWD");
|
||||||
chdir(path);
|
chdir(path);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Ensure gfxPlatform is initialized to make sure CMS state some test want
|
|
||||||
// to use is set up.
|
|
||||||
gfxPlatform::GetPlatform();
|
|
||||||
|
|
||||||
nsCOMPtr<nsICrashReporter> crashreporter;
|
nsCOMPtr<nsICrashReporter> crashreporter;
|
||||||
char* crashreporterStr = PR_GetEnv("MOZ_CRASHREPORTER");
|
char* crashreporterStr = PR_GetEnv("MOZ_CRASHREPORTER");
|
||||||
if (crashreporterStr && !strcmp(crashreporterStr, "1")) {
|
if (crashreporterStr && !strcmp(crashreporterStr, "1")) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче