Bug 1848468 - Mark k-rate-dynamics-compressor-connections.html subtest as failing...
[gecko.git] / gfx / thebes / gfxSharedImageSurface.h
blobb8bf461ed1d867c5f012421ce99863d63d72d46b
1 // vim:set ts=4 sts=2 sw=2 et cin:
2 /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef GFX_SHARED_IMAGESURFACE_H
8 #define GFX_SHARED_IMAGESURFACE_H
10 #include "gfxBaseSharedMemorySurface.h"
12 class gfxSharedImageSurface
13 : public gfxBaseSharedMemorySurface<gfxImageSurface,
14 gfxSharedImageSurface> {
15 typedef gfxBaseSharedMemorySurface<gfxImageSurface, gfxSharedImageSurface>
16 Super;
17 friend class gfxBaseSharedMemorySurface<gfxImageSurface,
18 gfxSharedImageSurface>;
20 private:
21 gfxSharedImageSurface(const mozilla::gfx::IntSize& aSize, long aStride,
22 gfxImageFormat aFormat,
23 const mozilla::ipc::Shmem& aShmem)
24 : Super(aSize, aStride, aFormat, aShmem) {}
27 #endif /* GFX_SHARED_IMAGESURFACE_H */