    if ([attribute isEqualToString:
        NSAccessibilityBoundsForRangeParameterizedAttribute]) {
 diff --git a/content/browser/accessibility/browser_accessibility_manager_mac.mm b/content/browser/accessibility/browser_accessibility_manager_mac.mm
-index e43122e..1e0ef69 100644
+index c389a5c..1b34553 100644
 --- a/content/browser/accessibility/browser_accessibility_manager_mac.mm
 +++ b/content/browser/accessibility/browser_accessibility_manager_mac.mm
-@@ -81,8 +81,10 @@
+@@ -83,8 +83,10 @@
      @"AXTextSelectionGranularity";
  NSString* const NSAccessibilityTextSelectionChangedFocus =
      @"AXTextSelectionChangedFocus";

                     forKey:NSAccessibilityTextChangeElement];
     }
diff --git a/content/common/sandbox_mac.mm b/content/common/sandbox_mac.mm
index 6a7f2cf..b73447a 100644
--- a/content/common/sandbox_mac.mm
+++ b/content/common/sandbox_mac.mm
@@ -43,6 +43,7 @@
 #include "ui/base/layout.h"
 #include "ui/gl/gl_surface.h"
 
+#ifndef MAS_BUILD
 extern "C" {
 void CGSSetDenyWindowServerConnections(bool);
 void CGSShutdownServerConnections();
@@ -52,6 +53,7 @@ int sandbox_init_with_parameters(const char* profile,
                                  const char* const parameters[],
                                  char** errorbuf);
 };
+#endif
 
 namespace content {
 namespace {
@@ -142,6 +144,7 @@ NOINLINE void FatalStringQuoteException(const std::string& str) {
 }
 
 bool SandboxCompiler::CompileAndApplyProfile(std::string* error) {

     return success;
   }
 
