Index: content/app/content_main_runner.cc |
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc |
index d9e795cf47423991771572f0374472b9b03eadb9..ab9db3231ac1a5877d78fc2f40487eb00c202fe8 100644 |
--- a/content/app/content_main_runner.cc |
+++ b/content/app/content_main_runner.cc |
@@ -69,6 +69,7 @@ |
#include "media/base/media.h" |
#include "ui/base/ui_base_paths.h" |
#include "ui/base/ui_base_switches.h" |
+#include "ui/gl/init/gl_factory.h" |
#ifdef V8_USE_EXTERNAL_STARTUP_DATA |
#include "gin/v8_initializer.h" |
@@ -754,6 +755,9 @@ class ContentMainRunnerImpl : public ContentMainRunner { |
if (delegate_) |
delegate_->SandboxInitialized(process_type); |
+ if (!gl::init::InitializeGLOneOff()) |
+ VLOG(1) << "gl::init::InitializeGLOneOff failed"; |
boliu
2016/08/11 19:23:39
let's pull out the binding init into a separate CL
ojars
2016/08/23 02:15:42
Done.
|
+ |
// Return -1 to indicate no early termination. |
return -1; |
} |