summaryrefslogtreecommitdiffstats
path: root/extensions/test/extensions_unittests_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/test/extensions_unittests_main.cc')
-rw-r--r--extensions/test/extensions_unittests_main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/test/extensions_unittests_main.cc b/extensions/test/extensions_unittests_main.cc
index dd7e402..9ec7e24 100644
--- a/extensions/test/extensions_unittests_main.cc
+++ b/extensions/test/extensions_unittests_main.cc
@@ -15,6 +15,7 @@
#include "extensions/test/test_extensions_client.h"
#include "mojo/embedder/test_embedder.h"
#include "ui/base/resource/resource_bundle.h"
+#include "ui/gl/gl_surface.h"
namespace {
@@ -64,6 +65,7 @@ ExtensionsTestSuite::~ExtensionsTestSuite() {}
void ExtensionsTestSuite::Initialize() {
content::ContentTestSuiteBase::Initialize();
+ gfx::GLSurface::InitializeOneOffForTests();
// Register the chrome-extension:// scheme via this circuitous path. Note
// that this does not persistently set up a ContentClient; individual tests