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

Unified Diff: remoting/host/video_frame_capturer_mac.mm

Issue 10837158: mac: Delete more 10.5-only code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rsesek Created 8 years, 4 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: remoting/host/video_frame_capturer_mac.mm
diff --git a/remoting/host/video_frame_capturer_mac.mm b/remoting/host/video_frame_capturer_mac.mm
index 36b82ad24f84ab7d5de7396bd87b27923e7127dd..fce661275b9deb5831a66499e4fed73df87eaa85 100644
--- a/remoting/host/video_frame_capturer_mac.mm
+++ b/remoting/host/video_frame_capturer_mac.mm
@@ -68,13 +68,6 @@ scoped_pixel_buffer_object::~scoped_pixel_buffer_object() {
bool scoped_pixel_buffer_object::Init(CGLContextObj cgl_context,
int size_in_bytes) {
- // The PBO path is only done on 10.6 (SnowLeopard) and above due to
- // a driver issue that was found on 10.5
- // (specifically on a NVIDIA GeForce 7300 GT).
- // http://crbug.com/87283
- if (base::mac::IsOSLeopardOrEarlier()) {
- return false;
- }
cgl_context_ = cgl_context;
CGLContextObj CGL_MACRO_CONTEXT = cgl_context_;
glGenBuffersARB(1, &pixel_buffer_object_);

Powered by Google App Engine
This is Rietveld 408576698