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

Unified Diff: trunk/src/content/common/gpu/client/gl_helper_unittest.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/content/common/gpu/client/gl_helper_unittest.cc
===================================================================
--- trunk/src/content/common/gpu/client/gl_helper_unittest.cc (revision 247809)
+++ trunk/src/content/common/gpu/client/gl_helper_unittest.cc (working copy)
@@ -1571,6 +1571,7 @@
#if defined(TOOLKIT_GTK)
gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess());
#endif
+ gfx::GLSurface::InitializeOneOff();
gpu::ApplyGpuDriverBugWorkarounds(CommandLine::ForCurrentProcess());
content::UnitTestTestSuite runner(suite);

Powered by Google App Engine
This is Rietveld 408576698