зеркало из https://github.com/mozilla/gecko-dev.git
Backed out 2 changesets (bug 1674234) for SM bustages on PreXULSkeletonUI.cpp . CLOSED TREE
Backed out changeset 093306c14ca2 (bug 1674234) Backed out changeset 2684003a37f9 (bug 1674234)
This commit is contained in:
Родитель
dcc427d74d
Коммит
115a0628bb
|
@ -301,11 +301,9 @@ function openBrowserWindow(
|
|||
).usePrivateBrowsing = true;
|
||||
}
|
||||
|
||||
let openTime = win.openTime;
|
||||
win.location = chromeURL;
|
||||
win.arguments = args; // <-- needs to be a plain JS array here.
|
||||
|
||||
ChromeUtils.addProfilerMarker("earlyBlankWindowVisible", openTime);
|
||||
return win;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -700,7 +700,6 @@ let JSWINDOWACTORS = {
|
|||
};
|
||||
|
||||
(function earlyBlankFirstPaint() {
|
||||
let startTime = Cu.now();
|
||||
if (
|
||||
AppConstants.platform == "macosx" ||
|
||||
!Services.prefs.getBoolPref("browser.startup.blankWindow", false)
|
||||
|
@ -782,9 +781,6 @@ let JSWINDOWACTORS = {
|
|||
// The window becomes visible after OnStopRequest, so make this happen now.
|
||||
win.stop();
|
||||
|
||||
ChromeUtils.addProfilerMarker("earlyBlankFirstPaint", startTime);
|
||||
win.openTime = Cu.now();
|
||||
|
||||
let { TelemetryTimestamps } = ChromeUtils.import(
|
||||
"resource://gre/modules/TelemetryTimestamps.jsm"
|
||||
);
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/glue/Debug.h"
|
||||
#include "mozilla/BaseProfilerMarkers.h"
|
||||
#include "mozilla/UniquePtr.h"
|
||||
#include "mozilla/Vector.h"
|
||||
#include "mozilla/WindowsDpiAwareness.h"
|
||||
|
@ -722,8 +721,6 @@ bool LoadGdi32AndUser32Procedures() {
|
|||
}
|
||||
|
||||
void CreateAndStorePreXULSkeletonUI(HINSTANCE hInstance) {
|
||||
const TimeStamp skeletonStart = TimeStamp::NowUnfuzzed();
|
||||
|
||||
HKEY regKey;
|
||||
if (!IsWin10OrLater() || !OpenPreXULSkeletonUIRegKey(regKey)) {
|
||||
return;
|
||||
|
@ -890,10 +887,6 @@ void CreateAndStorePreXULSkeletonUI(HINSTANCE hInstance) {
|
|||
sPreXULSKeletonUIAnimationThread = ::CreateThread(
|
||||
nullptr, 256 * 1024, AnimateSkeletonUI, nullptr, 0, nullptr);
|
||||
}
|
||||
|
||||
BASE_PROFILER_MARKER_UNTYPED(
|
||||
"CreatePreXULSkeletonUI", OTHER,
|
||||
MarkerTiming::IntervalUntilNowFrom(skeletonStart));
|
||||
}
|
||||
|
||||
bool WasPreXULSkeletonUIMaximized() { return sMaximized; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче