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

Unified Diff: ui/gl/gl_surface_x11.cc

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « ui/gl/gl_surface_win.cc ('k') | url/url_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_x11.cc
diff --git a/ui/gl/gl_surface_x11.cc b/ui/gl/gl_surface_x11.cc
index 55a0f38e73f6f601f3fdb1116bf0dc5c649eaa9a..895eb937a385bdb7763ec91fa77a5927d7c654d9 100644
--- a/ui/gl/gl_surface_x11.cc
+++ b/ui/gl/gl_surface_x11.cc
@@ -28,16 +28,16 @@ class NativeViewGLSurfaceOSMesa : public GLSurfaceOSMesa {
static bool InitializeOneOff();
// Implement a subset of GLSurface.
- virtual bool Initialize() override;
- virtual void Destroy() override;
- virtual bool Resize(const gfx::Size& new_size) override;
- virtual bool IsOffscreen() override;
- virtual bool SwapBuffers() override;
- virtual bool SupportsPostSubBuffer() override;
- virtual bool PostSubBuffer(int x, int y, int width, int height) override;
+ bool Initialize() override;
+ void Destroy() override;
+ bool Resize(const gfx::Size& new_size) override;
+ bool IsOffscreen() override;
+ bool SwapBuffers() override;
+ bool SupportsPostSubBuffer() override;
+ bool PostSubBuffer(int x, int y, int width, int height) override;
protected:
- virtual ~NativeViewGLSurfaceOSMesa();
+ ~NativeViewGLSurfaceOSMesa() override;
private:
Display* xdisplay_;
« no previous file with comments | « ui/gl/gl_surface_win.cc ('k') | url/url_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698