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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 1989453003: cc: Add ScopedReadLockGpuMemoryBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix aura typo Created 4 years, 7 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 | « content/browser/renderer_host/render_widget_host_view_mac.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 86481a97da9b4ab23e3ceb789bcc0e2c0b0063de..36b9717deac619b6671d4cd64270be76f304e9ef 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -406,6 +406,11 @@ float FlipYFromRectToScreen(float y, float rect_height) {
////////////////////////////////////////////////////////////////////////////////
// DelegatedFrameHost, public:
+int RenderWidgetHostViewMac::DelegatedFrameHostGetGpuMemoryBufferClientId()
+ const {
+ return render_widget_host_->GetProcess()->GetID();
+}
+
ui::Layer* RenderWidgetHostViewMac::DelegatedFrameHostGetLayer() const {
return root_layer_.get();
}
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698