gfx/src/nsScriptableRegion.h
author Chris Peterson <cpeterson@mozilla.com>
Mon, 14 Jul 2014 19:14:54 -0700
changeset 193973 f8f7b0e89bcfdef690759c38b266ab1fb1002595
parent 190261 2c62d4b7b0554e09efe43a7e543fc6e976d6aac0
child 234933 ac4464790ec4896a5188fa50cfc69ae0ffeddc08
permissions -rw-r--r--
Bug 1036782 - Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in js/src. r=jorendorff

/* -*- Mode: IDL; 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/. */

#ifndef nsScriptableRegion_h
#define nsScriptableRegion_h

#include "nsIScriptableRegion.h"
#include "gfxCore.h"
#include "nsISupports.h"
#include "nsRegion.h"
#include "mozilla/Attributes.h"

class NS_GFX nsScriptableRegion MOZ_FINAL : public nsIScriptableRegion {
public:
	nsScriptableRegion();

	NS_DECL_ISUPPORTS

	NS_DECL_NSISCRIPTABLEREGION

private:
        ~nsScriptableRegion() {}
	nsIntRegion mRegion;
};

#endif