diff options
Diffstat (limited to 'ui/views/examples')
-rw-r--r-- | ui/views/examples/DEPS | 1 | ||||
-rw-r--r-- | ui/views/examples/examples_main.cc | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/ui/views/examples/DEPS b/ui/views/examples/DEPS index 44d965d..1108a45 100644 --- a/ui/views/examples/DEPS +++ b/ui/views/examples/DEPS @@ -2,5 +2,4 @@ include_rules = [ "+content/public", "+content/shell", "+sandbox", - "+ui/gl/gl_surface.h", # To initialize GL bindings. ] diff --git a/ui/views/examples/examples_main.cc b/ui/views/examples/examples_main.cc index 53a206f..62a6405 100644 --- a/ui/views/examples/examples_main.cc +++ b/ui/views/examples/examples_main.cc @@ -14,7 +14,6 @@ #include "ui/base/resource/resource_bundle.h" #include "ui/compositor/test/context_factories_for_test.h" #include "ui/gfx/screen.h" -#include "ui/gl/gl_surface.h" #include "ui/views/corewm/wm_state.h" #include "ui/views/examples/example_base.h" #include "ui/views/examples/examples_window.h" @@ -47,8 +46,6 @@ int main(int argc, char** argv) { ui::ResourceBundle::InitSharedInstanceWithPakPath(pak_file); - gfx::GLSurface::InitializeOneOff(); - // The ContextFactory must exist before any Compositors are created. bool allow_test_contexts = false; ui::InitializeContextFactoryForTests(allow_test_contexts); |