mfbt/ChaosMode.cpp
author Alex Gaynor <agaynor@mozilla.com>
Wed, 12 Sep 2018 00:17:10 +0000
changeset 435968 a66a85285cb09523916bc95e30a42056b798e935
parent 427670 44b62ee96921df348dff53cc505db58132eeba03
child 448947 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1490415 - prevent creating a GPUVideoTextureHost with a null wrapped texture; r=sotaro Differential Revision: https://phabricator.services.mozilla.com/D5563

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "mozilla/ChaosMode.h"

namespace mozilla {

namespace detail {

Atomic<uint32_t, SequentiallyConsistent, recordreplay::Behavior::DontPreserve> gChaosModeCounter(0);
ChaosFeature gChaosFeatures = None;

} /* namespace detail */
} /* namespace mozilla */