 +#endif
  }
  
- void QTKitMonitorImpl::OnAttributeChanged(
-     NSNotification* notification) {
+ void QTKitMonitorImpl::OnAttributeChanged(NSNotification* notification) {
 +#ifndef MAS_BUILD
-   if ([[[notification userInfo]
-          objectForKey:QTCaptureDeviceChangedAttributeKey]
-       isEqualToString:QTCaptureDeviceSuspendedAttribute]) {
+   if ([[[notification userInfo] objectForKey:QTCaptureDeviceChangedAttributeKey]
+           isEqualToString:QTCaptureDeviceSuspendedAttribute]) {
      OnDeviceChanged();
    }
 +#endif

diff --git a/content/browser/device_monitor_mac.mm b/content/browser/device_monitor_mac.mm
index 248b99d..c3e1a3e 100644
--- a/content/browser/device_monitor_mac.mm
+++ b/content/browser/device_monitor_mac.mm
@@ -4,7 +4,9 @@
 
 #include "content/browser/device_monitor_mac.h"
 
+#ifndef MAS_BUILD
 #import <QTKit/QTKit.h>

 
   if (!capture_device_)
diff --git a/media/media.gyp b/media/media.gyp
index 329f0c7..26c6597 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -956,7 +956,6 @@
               '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework',
               '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
               '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
