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

Unified Diff: content/browser/renderer_host/compositing_iosurface_mac.h

Issue 334173006: Clean up GLSurfaceCGL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback Created 6 years, 6 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/browser/renderer_host/compositing_iosurface_mac.h
diff --git a/content/browser/renderer_host/compositing_iosurface_mac.h b/content/browser/renderer_host/compositing_iosurface_mac.h
index 28bfee0eb3e79771115a0f38920fa240778de90f..08c3c74c286fa8cfe0700d1e6d0b0cd0e10335e9 100644
--- a/content/browser/renderer_host/compositing_iosurface_mac.h
+++ b/content/browser/renderer_host/compositing_iosurface_mac.h
@@ -52,7 +52,7 @@ class CompositingIOSurfaceMac
// Set IOSurface that will be drawn on the next NSView drawRect.
bool SetIOSurfaceWithContextCurrent(
scoped_refptr<CompositingIOSurfaceContext> current_context,
- uint64 io_surface_handle,
+ IOSurfaceID io_surface_handle,
const gfx::Size& size,
float scale_factor) WARN_UNUSED_RESULT;
@@ -217,7 +217,7 @@ class CompositingIOSurfaceMac
const scoped_refptr<CompositingIOSurfaceContext>& current_context,
const gfx::Size pixel_size,
float scale_factor,
- uint64 io_surface_handle) WARN_UNUSED_RESULT;
+ IOSurfaceID io_surface_handle) WARN_UNUSED_RESULT;
void UnrefIOSurfaceWithContextCurrent();
@@ -277,7 +277,7 @@ class CompositingIOSurfaceMac
scoped_refptr<CompositingIOSurfaceContext> offscreen_context_;
// IOSurface data.
- uint64 io_surface_handle_;
+ IOSurfaceID io_surface_handle_;
base::ScopedCFTypeRef<IOSurfaceRef> io_surface_;
// The width and height of the io surface.
« no previous file with comments | « content/browser/compositor/browser_compositor_view_mac.mm ('k') | content/browser/renderer_host/compositing_iosurface_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698