accessible/other/AccessibleWrap.cpp
author Bas Schouten <bschouten@mozilla.com>
Fri, 06 Mar 2015 02:37:12 +0100
changeset 250308 a0dcce4081087e2e1f9d6ec7ebf3b9e37b7dc619
parent 211150 85b4fe3a7fa90caa702aa36f6985c667d9e01b02
child 416428 6a629adbb62a299d7208373d1c6f375149d2afdb
permissions -rw-r--r--
Bug 1138934 - Make sure the white texture of a component alpha pair is fully uploaded when new. r=nical, a=lmandel This is slightly wasteful since this will also always upload the full black texture. The wastage here is so rare and generally so few though that I don't think it's worth adding plumming for the texture host to know if this is the texture on white of on black.

/* -*- 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 "AccessibleWrap.h"

using namespace mozilla::a11y;

//-----------------------------------------------------
// construction 
//-----------------------------------------------------
AccessibleWrap::
  AccessibleWrap(nsIContent* aContent, DocAccessible* aDoc) :
  Accessible(aContent, aDoc)
{
}

//-----------------------------------------------------
// destruction
//-----------------------------------------------------
AccessibleWrap::~AccessibleWrap()
{
}