Skip to content

Commit

Permalink
Bug 1657577 [Linux] Use atomic gNewSurfaceUID, r=jgilbert
Browse files Browse the repository at this point in the history
  • Loading branch information
stransky committed Aug 6, 2020
1 parent 05c4697 commit b368bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/gtk/DMABufSurface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ using namespace mozilla::layers;
# define VA_FOURCC_YV12 0x32315659
#endif

static int gNewSurfaceUID = 1;
static Atomic<int> gNewSurfaceUID(1);

bool DMABufSurface::IsGlobalRefSet() const {
if (!mGlobalRefCountFd) {
Expand Down

0 comments on commit b368bb8

Please sign in to comment.