image/SurfaceCacheUtils.cpp
author Brian Hackett <bhackett1024@gmail.com>
Wed, 08 May 2019 09:31:19 -1000
changeset 474193 c37ca68a24e5a38192a1ef8ccf01c406ccc511ce
parent 461891 240e874ed11862376247ea177a88ddf00924e0da
permissions -rw-r--r--
Bug 1546736 Part 4 - Only capture web socket stacks for net monitor when the docshell/worker is being watched by the devtools, r=bzbarsky.

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 "SurfaceCacheUtils.h"

#include "SurfaceCache.h"

namespace mozilla {
namespace image {

/* static */
void SurfaceCacheUtils::DiscardAll() { SurfaceCache::DiscardAll(); }

}  // namespace image
}  // namespace mozilla