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

Unified Diff: content/browser/media/capture/web_contents_video_capture_device.cc

Issue 274163004: Remove browser-side tracking of accelerated compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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
Index: content/browser/media/capture/web_contents_video_capture_device.cc
diff --git a/content/browser/media/capture/web_contents_video_capture_device.cc b/content/browser/media/capture/web_contents_video_capture_device.cc
index 0e5347cb506ee8aa6e4c3f98fbc2f89b27b2c6c5..8a8474c2782f9b0e6e11fd8314a896141e73797a 100644
--- a/content/browser/media/capture/web_contents_video_capture_device.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device.cc
@@ -422,8 +422,7 @@ void ContentCaptureSubscription::Observe(
// signals of a new frame on Mac.
// http://crbug.com/333986
#if !defined(OS_MACOSX)
- if (rwh->is_accelerated_compositing_active() &&
- rwh->GetView()->IsSurfaceAvailableForCopy())
+ if (rwh->GetView()->IsSurfaceAvailableForCopy())
return;
#endif

Powered by Google App Engine
This is Rietveld 408576698