Skip to content

Commit 927ad62

Browse files
author
Butkovits Atila
committed
Backed out changeset a68ee4b09f92 (bug 1207753) for causing Hazard bustages. CLOSED TREE
1 parent 7d4b5fa commit 927ad62

File tree

441 files changed

+549
-573
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

441 files changed

+549
-573
lines changed

accessible/ipc/win/HandlerProvider.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class HandlerProvider final : public IGeckoBackChannel,
115115
HRESULT* result);
116116

117117
Atomic<uint32_t> mRefCnt;
118-
Mutex mMutex MOZ_UNANNOTATED; // Protects mSerializer
118+
Mutex mMutex; // Protects mSerializer
119119
const IID mTargetUnkIid;
120120
mscom::InterceptorTargetPtr<IUnknown>
121121
mTargetUnk; // Constant, main thread only
@@ -136,7 +136,7 @@ class HandlerProvider final : public IGeckoBackChannel,
136136
// Used when the payload is built prior to marshaling the object by a bulk
137137
// fetch operation. See prebuildPayload().
138138
IA2PayloadPtr mPayload;
139-
Mutex mPayloadMutex MOZ_UNANNOTATED; // Protects mPayload
139+
Mutex mPayloadMutex; // Protects mPayload
140140
};
141141

142142
} // namespace a11y

docshell/base/timeline/MarkersStorage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class MarkersStorage : public LinkedListElement<MarkersStorage> {
4040
Mutex& GetLock();
4141

4242
private:
43-
Mutex mLock MOZ_UNANNOTATED;
43+
Mutex mLock;
4444
};
4545

4646
} // namespace mozilla

docshell/base/timeline/TimelineConsumers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class TimelineConsumers : public nsIObserver {
123123
LinkedList<MarkersStorage> mMarkersStores;
124124

125125
// Protects this class's data structures.
126-
static StaticMutex sMutex MOZ_UNANNOTATED;
126+
static StaticMutex sMutex;
127127
};
128128

129129
} // namespace mozilla

dom/base/BodyStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class BodyStream final : public nsIInputStreamCallback,
227227
// We need a mutex because JS engine can release BodyStream on a non-owning
228228
// thread. We must be sure that the releasing of resources doesn't trigger
229229
// race conditions.
230-
Mutex mMutex MOZ_UNANNOTATED;
230+
Mutex mMutex;
231231

232232
// Protected by mutex.
233233
State mState;

dom/cache/Manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ class Manager::CachePutAllAction final : public DBAction {
11011101
nsTArray<nsID> mDeletedBodyIdList;
11021102

11031103
// accessed from any thread while mMutex locked
1104-
Mutex mMutex MOZ_UNANNOTATED;
1104+
Mutex mMutex;
11051105
nsTArray<nsCOMPtr<nsISupports>> mCopyContextList;
11061106

11071107
Maybe<CacheDirectoryMetadata> mDirectoryMetadata;

dom/cache/ReadStream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class ReadStream::Inner final : public ReadStream::Controllable {
105105
// to close a stream on our owning thread while an IO thread is simultaneously
106106
// reading the same stream. Therefore, protect all access to these stream
107107
// objects with a mutex.
108-
Mutex mMutex MOZ_UNANNOTATED;
108+
Mutex mMutex;
109109
CondVar mCondVar;
110110
nsCOMPtr<nsIInputStream> mStream;
111111
nsCOMPtr<nsIInputStream> mSnappyStream;

dom/canvas/HostWebGLContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace mozilla {
3232

3333
// -
3434

35-
static StaticMutex sContextSetLock MOZ_UNANNOTATED;
35+
static StaticMutex sContextSetLock;
3636

3737
static std::unordered_set<HostWebGLContext*>& DeferredStaticContextSet() {
3838
static std::unordered_set<HostWebGLContext*> sContextSet;

dom/canvas/ImageBitmap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ class CreateImageBitmapFromBlob final : public DiscardableRunnable,
14751475
// This is called on the main-thread only.
14761476
nsresult GetMimeTypeAsync();
14771477

1478-
Mutex mMutex MOZ_UNANNOTATED;
1478+
Mutex mMutex;
14791479

14801480
// The access to this object is protected by mutex but is always nullified on
14811481
// the owning thread.

dom/canvas/OffscreenCanvasDisplayHelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class OffscreenCanvasDisplayHelper final {
6262
gfx::SurfaceFormat aFormat, const gfx::IntSize& aSize,
6363
bool aNeedsPremult, gl::OriginPos aOriginPos) const;
6464

65-
mutable Mutex mMutex MOZ_UNANNOTATED;
65+
mutable Mutex mMutex;
6666
HTMLCanvasElement* MOZ_NON_OWNING_REF mCanvasElement;
6767
RefPtr<layers::ImageContainer> mImageContainer;
6868
RefPtr<gfx::SourceSurface> mFrontBufferSurface;

dom/console/ConsoleReportCollector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class ConsoleReportCollector final : public nsIConsoleReportCollector {
7878
const CopyableTArray<nsString> mStringParams;
7979
};
8080

81-
Mutex mMutex MOZ_UNANNOTATED;
81+
Mutex mMutex;
8282

8383
// protected by mMutex
8484
nsTArray<PendingReport> mPendingReports;

0 commit comments

Comments
 (0)