    }
  
    if (!capture_device_)
+diff --git a/media/media.gyp b/media/media.gyp
+index a842881..ea723e5 100644
+--- a/media/media.gyp
++++ b/media/media.gyp
+@@ -462,8 +462,8 @@
+         'capture/video/mac/video_capture_device_factory_mac.mm',
+         'capture/video/mac/video_capture_device_mac.h',
+         'capture/video/mac/video_capture_device_mac.mm',
+-        'capture/video/mac/video_capture_device_qtkit_mac.h',
+-        'capture/video/mac/video_capture_device_qtkit_mac.mm',
++        # 'capture/video/mac/video_capture_device_qtkit_mac.h',
++        # 'capture/video/mac/video_capture_device_qtkit_mac.mm',
+         'capture/video/video_capture_device.cc',
+         'capture/video/video_capture_device.h',
+         'capture/video/video_capture_device_factory.cc',
+@@ -987,7 +987,7 @@
+               '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework',
+               '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
+               '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
+-              '$(SDKROOT)/System/Library/Frameworks/QTKit.framework',
++              # '$(SDKROOT)/System/Library/Frameworks/QTKit.framework',
+             ],
+           },
+         }],

   return device_names.Pass();
 }
 
diff --git a/media/video/capture/mac/video_capture_device_mac.mm b/media/video/capture/mac/video_capture_device_mac.mm
index 521a111..6104cb1 100644
--- a/media/video/capture/mac/video_capture_device_mac.mm
+++ b/media/video/capture/mac/video_capture_device_mac.mm
@@ -20,7 +20,9 @@
 #import "media/base/mac/avfoundation_glue.h"
 #import "media/video/capture/mac/platform_video_capturing_mac.h"
 #import "media/video/capture/mac/video_capture_device_avfoundation_mac.h"
+#ifndef MAS_BUILD
 #import "media/video/capture/mac/video_capture_device_qtkit_mac.h"
+#endif
 #include "ui/gfx/geometry/size.h"
 
 @implementation DeviceNameAndTransportType
@@ -454,8 +456,10 @@ bool VideoCaptureDeviceMac::Init(
     capture_device_ =
         [[VideoCaptureDeviceAVFoundation alloc] initWithFrameReceiver:this];
   } else {

diff --git a/content/browser/device_monitor_mac.mm b/content/browser/device_monitor_mac.mm
index 36e9a57..87b8889 100644
--- a/content/browser/device_monitor_mac.mm
+++ b/content/browser/device_monitor_mac.mm
@@ -4,7 +4,9 @@
