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

Unified Diff: content/browser/renderer_host/render_widget_host_view_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/render_widget_host_view_mac.h
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
index 6e55b31ecd3e564337e93f930ffbe194bd388c04..b370e02b7110b6e4605d5f8aacfee14a8719b0a3 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.h
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
#import <Cocoa/Cocoa.h>
+#include <IOSurface/IOSurfaceAPI.h>
#include <list>
#include <map>
#include <string>
@@ -360,7 +361,7 @@ class CONTENT_EXPORT RenderWidgetHostViewMac
// Update the IOSurface to be drawn and call setNeedsDisplay on
// |cocoa_view_|.
- void CompositorSwapBuffers(uint64 surface_handle,
+ void CompositorSwapBuffers(IOSurfaceID surface_handle,
const gfx::Size& size,
float scale_factor,
const std::vector<ui::LatencyInfo>& latency_info);

Powered by Google App Engine
This is Rietveld 408576698