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

Unified Diff: webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_objc.mm

Issue 1644843003: Compile rtc_base_objc and rtc_api_objc for Mac (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update against master Created 4 years, 11 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: webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_objc.mm
diff --git a/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_objc.mm b/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_objc.mm
index 8a6d448a9335ee3ebe8fd2966df13b862fedb03f..f83fe2d3726b909a1b2617fcac7bf6ad178e7a5e 100644
--- a/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_objc.mm
+++ b/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_objc.mm
@@ -24,6 +24,9 @@ using namespace videocapturemodule;
@implementation VideoCaptureMacQTKitObjC
+// TODO(hjon): Update deprecated APIs (see webrtc:5478 for details).
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated"
-(id)init {
self = [super init];
if (self) {
@@ -256,5 +259,6 @@ using namespace videocapturemodule;
_framesDelivered++;
_framesRendered++;
}
+#pragma clang diagnostic pop
@end

Powered by Google App Engine
This is Rietveld 408576698