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

Unified Diff: content/app/content_main_runner.cc

Issue 2174203002: OnDrawHardware() implementation with async messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added flag to branch old and new implementation Created 4 years, 4 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: 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;
}

Powered by Google App Engine
This is Rietveld 408576698