gfx/webrender_bindings/RenderTextureHostOGL.cpp
author Michael Smith <michael@spinda.net>
Thu, 22 Jun 2017 15:31:32 -0700
changeset 372791 a179412ca028e816f367e2841f2afd91b472afe8
parent 351318 66e555be3167455e8f99ef8678b320d53d94c9d6
child 389027 5f74d262924171a8fa0b4483a64f4cac34c4c9b8
permissions -rw-r--r--
Bug 1373739 - Constrain widget size to screen size in headless mode. r=jrmuizel Every other widget backend ensures widget size is bounded to screen size, but this check was missing from headless. MozReview-Commit-ID: 6bKIAkdRxoO

/* -*- Mode: C++; tab-width: 20; 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 "RenderTextureHostOGL.h"

namespace mozilla {
namespace wr {

RenderTextureHostOGL::RenderTextureHostOGL()
{
  MOZ_COUNT_CTOR_INHERITED(RenderTextureHostOGL, RenderTextureHost);
}

RenderTextureHostOGL::~RenderTextureHostOGL()
{
  MOZ_COUNT_DTOR_INHERITED(RenderTextureHostOGL, RenderTextureHost);
}

} // namespace wr
} // namespace mozilla