Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: trunk/src/ui/views/examples/examples_main.cc

Issue 149953003: Revert 247793 "Ensure GL initialization only happens once, and p..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/ui/views/examples/examples_main.cc
===================================================================
--- trunk/src/ui/views/examples/examples_main.cc (revision 247809)
+++ trunk/src/ui/views/examples/examples_main.cc (working copy)
@@ -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 @@
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);
« no previous file with comments | « trunk/src/ui/views/examples/DEPS ('k') | trunk/src/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698