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

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

Issue 164873006: Do not share a GL context between CoreAnimation and async readback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More comments Created 6 years, 10 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/compositing_iosurface_context_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/compositing_iosurface_layer_mac.mm
diff --git a/content/browser/renderer_host/compositing_iosurface_layer_mac.mm b/content/browser/renderer_host/compositing_iosurface_layer_mac.mm
index e888401e48a697bb5855fd62705554aba495cde4..10465528b4938f822543cd0f3792b7078e6e4f72 100644
--- a/content/browser/renderer_host/compositing_iosurface_layer_mac.mm
+++ b/content/browser/renderer_host/compositing_iosurface_layer_mac.mm
@@ -24,7 +24,7 @@
if (self = [super init]) {
renderWidgetHostView_ = r;
context_ = content::CompositingIOSurfaceContext::Get(
- content::CompositingIOSurfaceContext::kOffscreenContextWindowNumber);
+ content::CompositingIOSurfaceContext::kCALayerContextWindowNumber);
DCHECK(context_);
needsDisplay_ = NO;
« no previous file with comments | « content/browser/renderer_host/compositing_iosurface_context_mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698