  
  namespace content {
  namespace {
-@@ -156,15 +158,20 @@ bool SandboxCompiler::InsertStringParam(const std::string& key,
+@@ -156,15 +158,20 @@ NOINLINE void FatalStringQuoteException(const std::string& str) {
  void SandboxCompiler::FreeSandboxResources(void* profile,
                                             void* params,
                                             char* error) {

diff --git a/content/browser/accessibility/browser_accessibility_cocoa.mm b/content/browser/accessibility/browser_accessibility_cocoa.mm
index 947575e..c577069b 100644
--- a/content/browser/accessibility/browser_accessibility_cocoa.mm
+++ b/content/browser/accessibility/browser_accessibility_cocoa.mm
@@ -84,10 +84,12 @@ const int kAXResultsLimitNoLimit = -1;
 
 extern "C" {
 
+#ifndef MAS_BUILD
 // See http://openradar.appspot.com/9896491. This SPI has been tested on 10.5,
 // 10.6, and 10.7. It allows accessibility clients to observe events posted on
 // this object.
 void NSAccessibilityUnregisterUniqueIdForUIElement(id element);
+#endif
 
 // The following are private accessibility APIs required for cursor navigation
 // and text selection. VoiceOver started relying on them in Mac OS X 10.11.
@@ -490,7 +492,9 @@ bool InitializeAccessibilityTreeSearch(
 
 - (void)detach {
   if (browserAccessibility_) {

 }
 
 // static
@@ -402,8 +410,10 @@ NOINLINE void FatalStringQuoteException(const std::string& str) {
     // 10.8 and higher because doing it on earlier OSes causes layout tests to
     // fail <http://crbug.com/397642#c48>. This may cause two log messages to
     // be printed to the system logger on certain OS versions.
