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

Unified Diff: mojo/tools/roll/ui_gl_init.patch

Issue 817653003: Update from https://crrev.com/309717 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « mojo/tools/roll/cc_strip_video.patch ('k') | net/base/layered_network_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/roll/ui_gl_init.patch
diff --git a/mojo/tools/roll/ui_gl_init.patch b/mojo/tools/roll/ui_gl_init.patch
index 2b16af8c5f0f78a7dda5d4d6d95e0dde5b3b3ccd..f44b61d31ad239ccb7648f98f1d2c3f4d6a358c6 100644
--- a/mojo/tools/roll/ui_gl_init.patch
+++ b/mojo/tools/roll/ui_gl_init.patch
@@ -1,5 +1,5 @@
diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
-index 620cee7..4459d48 100644
+index e1369e5..f4cb61c 100644
--- a/ui/gl/gl_surface.cc
+++ b/ui/gl/gl_surface.cc
@@ -28,7 +28,7 @@ base::LazyInstance<base::ThreadLocalPointer<GLSurface> >::Leaky
@@ -12,7 +12,7 @@ index 620cee7..4459d48 100644
TRACE_EVENT0("gpu", "GLSurface::InitializeOneOff");
@@ -40,7 +40,8 @@ bool GLSurface::InitializeOneOff() {
- CommandLine* cmd = CommandLine::ForCurrentProcess();
+ base::CommandLine* cmd = base::CommandLine::ForCurrentProcess();
// The default implementation is always the first one in list.
- GLImplementation impl = allowed_impls[0];
@@ -22,11 +22,11 @@ index 620cee7..4459d48 100644
if (cmd->HasSwitch(switches::kOverrideUseGLWithOSMesaForTests)) {
impl = kGLImplementationOSMesaGL;
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
-index 54bcc37..d458063 100644
+index 8993845..220bda6 100644
--- a/ui/gl/gl_surface.h
+++ b/ui/gl/gl_surface.h
-@@ -72,7 +72,7 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
- virtual bool PostSubBuffer(int x, int y, int width, int height);
+@@ -96,7 +96,7 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
+ const SwapCompletionCallback& callback);
// Initialize GL bindings.
- static bool InitializeOneOff();
« no previous file with comments | « mojo/tools/roll/cc_strip_video.patch ('k') | net/base/layered_network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698