Bug 736123 - kill GetVendor() and EGLUtils.h - r=jrmuizel

Was only returning "Android" instead of something useful.
This commit is contained in:
Benoit Jacob
2012-04-30 17:43:12 -04:00
parent dfef69e14e
commit e4b52bbf32
4 changed files with 2 additions and 57 deletions

View File

@@ -38,7 +38,6 @@
#include "mozilla/FunctionTimer.h"
#include "prenv.h"
#include "prprf.h"
#include "EGLUtils.h"
#include "nsHashKeys.h"
#include "AndroidBridge.h"
@@ -92,11 +91,11 @@ GfxInfo::GetCleartypeParameters(nsAString & aCleartypeParams)
nsresult
GfxInfo::Init()
{
mAdapterDescription.AssignASCII(mozilla::gl::GetVendor());
mAdapterDescription.AssignLiteral(""); // we may append to it below
if (mozilla::AndroidBridge::Bridge()) {
nsAutoString str;
mAdapterDescription.Append(NS_LITERAL_STRING(", Model: '"));
mAdapterDescription.Append(NS_LITERAL_STRING("Model: '"));
if (mozilla::AndroidBridge::Bridge()->GetStaticStringField("android/os/Build", "MODEL", str)) {
mAdapterDeviceID = str;
mAdapterDescription.Append(str);