From 79e253307644a44875a36f2473ca45b9153f0a47 Mon Sep 17 00:00:00 2001 From: Eric Rahm Date: Fri, 11 Aug 2017 17:45:50 -0700 Subject: [PATCH] Bug 1389598 - Part 1: Remove gonk references from gfx/ r=jrmuizel --HG-- extra : rebase_source : f53ae270c09892d65d9119a109a29317834f81b1 --- gfx/doc/B2GInputFlow.svg | 349 --------------------- gfx/tests/mochitest/test_acceleration.html | 2 +- gfx/thebes/gfxPlatform.h | 2 - 3 files changed, 1 insertion(+), 352 deletions(-) delete mode 100644 gfx/doc/B2GInputFlow.svg diff --git a/gfx/doc/B2GInputFlow.svg b/gfx/doc/B2GInputFlow.svg deleted file mode 100644 index ee6f4332c28d..000000000000 --- a/gfx/doc/B2GInputFlow.svg +++ /dev/null @@ -1,349 +0,0 @@ - - - Touch input event flow on B2G - - - - diff --git a/gfx/tests/mochitest/test_acceleration.html b/gfx/tests/mochitest/test_acceleration.html index 52706321bedf..75a482b48689 100644 --- a/gfx/tests/mochitest/test_acceleration.html +++ b/gfx/tests/mochitest/test_acceleration.html @@ -123,7 +123,7 @@ switch(osName) break; default: - if (xr.OS == "Android" && xr.widgetToolkit != "gonk") { + if (xr.OS == "Android") { isnot(acceleratedWindows, 0, "Acceleration enabled on Android"); } else { is(acceleratedWindows, 0, "Acceleration not supported on '" + osName + "'"); diff --git a/gfx/thebes/gfxPlatform.h b/gfx/thebes/gfxPlatform.h index d3f35fd594a6..840ffd6e3d54 100644 --- a/gfx/thebes/gfxPlatform.h +++ b/gfx/thebes/gfxPlatform.h @@ -595,8 +595,6 @@ public: void PurgeSkiaGPUCache(); static void PurgeSkiaFontCache(); - virtual bool IsInGonkEmulator() const { return false; } - static bool UsesOffMainThreadCompositing(); bool HasEnoughTotalSystemMemoryForSkiaGL();