<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[209516] trunk/Tools</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/209516">209516</a></dd>
<dt>Author</dt> <dd>mark.lam@apple.com</dd>
<dt>Date</dt> <dd>2016-12-07 19:26:10 -0800 (Wed, 07 Dec 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>DumpRenderTree should stop using CheckedMalloc.
https://bugs.webkit.org/show_bug.cgi?id=165563
&lt;rdar://problem/28945820&gt;

Reviewed by Geoffrey Garen.

1. WebKitTestRunner does not have equivalent behavior to that which is implemented
   in CheckedMalloc.
2. bmalloc does not honor the settings of CheckedMalloc.

The only time CheckedMalloc comes into play is when DRT uses gmalloc or system
malloc.  As a result, DRT exhibits different behavior from the normal way we run
our tests.  We should obsolete CheckedMalloc and make DRT behave consistently
with WKTR.

* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/CheckedMalloc.cpp: Removed.
* DumpRenderTree/mac/CheckedMalloc.h: Removed.
* DumpRenderTree/mac/DumpRenderTree.mm:
(prepareConsistentTestingEnvironment):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsDumpRenderTreeDumpRenderTreexcodeprojprojectpbxproj">trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkToolsDumpRenderTreemacDumpRenderTreemm">trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkToolsDumpRenderTreemacCheckedMalloccpp">trunk/Tools/DumpRenderTree/mac/CheckedMalloc.cpp</a></li>
<li><a href="#trunkToolsDumpRenderTreemacCheckedMalloch">trunk/Tools/DumpRenderTree/mac/CheckedMalloc.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (209515 => 209516)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2016-12-08 03:22:36 UTC (rev 209515)
+++ trunk/Tools/ChangeLog        2016-12-08 03:26:10 UTC (rev 209516)
</span><span class="lines">@@ -1,3 +1,26 @@
</span><ins>+2016-12-07  Mark Lam  &lt;mark.lam@apple.com&gt;
+
+        DumpRenderTree should stop using CheckedMalloc.
+        https://bugs.webkit.org/show_bug.cgi?id=165563
+        &lt;rdar://problem/28945820&gt;
+
+        Reviewed by Geoffrey Garen.
+
+        1. WebKitTestRunner does not have equivalent behavior to that which is implemented
+           in CheckedMalloc.
+        2. bmalloc does not honor the settings of CheckedMalloc.
+
+        The only time CheckedMalloc comes into play is when DRT uses gmalloc or system
+        malloc.  As a result, DRT exhibits different behavior from the normal way we run
+        our tests.  We should obsolete CheckedMalloc and make DRT behave consistently
+        with WKTR.
+
+        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
+        * DumpRenderTree/mac/CheckedMalloc.cpp: Removed.
+        * DumpRenderTree/mac/CheckedMalloc.h: Removed.
+        * DumpRenderTree/mac/DumpRenderTree.mm:
+        (prepareConsistentTestingEnvironment):
+
</ins><span class="cx"> 2016-12-07  Dean Jackson  &lt;dino@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove runtime toggle for pointer-lock
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreeDumpRenderTreexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj (209515 => 209516)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj        2016-12-08 03:22:36 UTC (rev 209515)
+++ trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj        2016-12-08 03:26:10 UTC (rev 209516)
</span><span class="lines">@@ -112,7 +112,6 @@
</span><span class="cx">                 A134E53618905EFF00901D06 /* AccessibilityCommonMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = BC0E26140E2DA4C6001B6BC3 /* AccessibilityCommonMac.mm */; };
</span><span class="cx">                 A8B91ADA0CF3B32F008F91FF /* DumpRenderTreePasteboard.m in Sources */ = {isa = PBXBuildFile; fileRef = A8B91AD70CF3B32F008F91FF /* DumpRenderTreePasteboard.m */; };
</span><span class="cx">                 A8B91ADC0CF3B32F008F91FF /* DumpRenderTreeWindow.mm in Sources */ = {isa = PBXBuildFile; fileRef = A8B91AD90CF3B32F008F91FF /* DumpRenderTreeWindow.mm */; };
</span><del>-                A8B91BFD0CF522B4008F91FF /* CheckedMalloc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8B91BF70CF522B4008F91FF /* CheckedMalloc.cpp */; };
</del><span class="cx">                 A8D79CEB0FC28B2C004AC8FE /* DumpRenderTreeFileDraggingSource.m in Sources */ = {isa = PBXBuildFile; fileRef = A8D79CE90FC28B2C004AC8FE /* DumpRenderTreeFileDraggingSource.m */; };
</span><span class="cx">                 A9BB7C5C1C505278002C525B /* AccessibilityTextMarkerIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = A9BB7C5B1C505278002C525B /* AccessibilityTextMarkerIOS.mm */; };
</span><span class="cx">                 AA5A15EF16E15CD000F7C561 /* AccessibilityControllerIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = AA5A15ED16E15CD000F7C561 /* AccessibilityControllerIOS.mm */; };
</span><span class="lines">@@ -350,8 +349,6 @@
</span><span class="cx">                 A8B91AD90CF3B32F008F91FF /* DumpRenderTreeWindow.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = DumpRenderTreeWindow.mm; path = mac/DumpRenderTreeWindow.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A8B91ADD0CF3B372008F91FF /* DumpRenderTreeWindow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DumpRenderTreeWindow.h; path = mac/DumpRenderTreeWindow.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A8B91ADF0CF3B372008F91FF /* DumpRenderTreePasteboard.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DumpRenderTreePasteboard.h; path = mac/DumpRenderTreePasteboard.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                A8B91BF70CF522B4008F91FF /* CheckedMalloc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CheckedMalloc.cpp; path = mac/CheckedMalloc.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                A8B91BF90CF522B4008F91FF /* CheckedMalloc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CheckedMalloc.h; path = mac/CheckedMalloc.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 A8D79CE80FC28B2C004AC8FE /* DumpRenderTreeFileDraggingSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DumpRenderTreeFileDraggingSource.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A8D79CE90FC28B2C004AC8FE /* DumpRenderTreeFileDraggingSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DumpRenderTreeFileDraggingSource.m; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A9BB7C5B1C505278002C525B /* AccessibilityTextMarkerIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AccessibilityTextMarkerIOS.mm; path = ios/AccessibilityTextMarkerIOS.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -490,8 +487,6 @@
</span><span class="cx">                                 A803FF7409CAAD08009B2A37 /* DumpRenderTree.h */,
</span><span class="cx">                                 BCA18C460C9B5B9400114369 /* DumpRenderTree.mm */,
</span><span class="cx">                                 A134E52F188FC27000901D06 /* DumpRenderTreeMain.mm */,
</span><del>-                                A8B91BF70CF522B4008F91FF /* CheckedMalloc.cpp */,
-                                A8B91BF90CF522B4008F91FF /* CheckedMalloc.h */,
</del><span class="cx">                                 7CBBC3211DDFCF9A00786B9D /* TestOptions.mm */,
</span><span class="cx">                                 7CBBC3221DDFCF9A00786B9D /* TestOptions.h */,
</span><span class="cx">                                 BC4741290D038A4C0072B006 /* JavaScriptThreading.h */,
</span><span class="lines">@@ -1111,7 +1106,6 @@
</span><span class="cx">                                 AA5A15F016E15CD000F7C561 /* AccessibilityUIElementIOS.mm in Sources */,
</span><span class="cx">                                 BC0E26150E2DA4C6001B6BC2 /* AccessibilityUIElementMac.mm in Sources */,
</span><span class="cx">                                 BCA18B390C9B021900114369 /* AppleScriptController.m in Sources */,
</span><del>-                                A8B91BFD0CF522B4008F91FF /* CheckedMalloc.cpp in Sources */,
</del><span class="cx">                                 53CBB832134E42F3001CE6A4 /* CyclicRedundancyCheck.cpp in Sources */,
</span><span class="cx">                                 1A2FB84F178C80930059FD96 /* DefaultPolicyDelegate.m in Sources */,
</span><span class="cx">                                 BCA18C470C9B5B9400114369 /* DumpRenderTree.mm in Sources */,
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreemacCheckedMalloccpp"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/DumpRenderTree/mac/CheckedMalloc.cpp (209515 => 209516)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/mac/CheckedMalloc.cpp        2016-12-08 03:22:36 UTC (rev 209515)
+++ trunk/Tools/DumpRenderTree/mac/CheckedMalloc.cpp        2016-12-08 03:26:10 UTC (rev 209516)
</span><span class="lines">@@ -1,86 +0,0 @@
</span><del>-/*
- * Copyright (C) 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
- *           (C) 2007 Graham Dennis (graham.dennis@gmail.com)
- *           (C) 2007 Eric Seidel &lt;eric@webkit.org&gt;
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer. 
- * 2.  Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution. 
- * 3.  Neither the name of Apple Inc. (&quot;Apple&quot;) nor the names of
- *     its contributors may be used to endorse or promote products derived
- *     from this software without specific prior written permission. 
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS &quot;AS IS&quot; AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import &quot;config.h&quot; 
-#import &quot;CheckedMalloc.h&quot;
-
-#import &lt;WebCore/MachVMSPI.h&gt;
-#import &lt;mach/mach_init.h&gt;
-#import &lt;mach/vm_region.h&gt;
-#import &lt;malloc/malloc.h&gt;
-#import &lt;unistd.h&gt;
-
-static void* (*savedMalloc)(malloc_zone_t*, size_t);
-static void* (*savedRealloc)(malloc_zone_t*, void*, size_t);
-
-static void* checkedMalloc(malloc_zone_t* zone, size_t size)
-{
-    if (size &gt;= 0x10000000)
-        return 0;
-    return savedMalloc(zone, size);
-}
-
-static void* checkedRealloc(malloc_zone_t* zone, void* ptr, size_t size)
-{
-    if (size &gt;= 0x10000000)
-        return 0;
-    return savedRealloc(zone, ptr, size);
-}
-
-static vm_prot_t protectionOfRegion(mach_vm_address_t address)
-{
-    mach_vm_size_t regionSize = 0;
-    vm_region_basic_info_64 regionInfo;
-    mach_msg_type_number_t regionInfoCount = VM_REGION_BASIC_INFO_COUNT_64;
-    mach_port_t objectName;
-    if (mach_vm_region(mach_task_self(), &amp;address, &amp;regionSize, VM_REGION_BASIC_INFO_64, (vm_region_info_t)&amp;regionInfo, &amp;regionInfoCount, &amp;objectName))
-        CRASH();
-    return regionInfo.protection;
-}
-
-void makeLargeMallocFailSilently()
-{
-    malloc_zone_t* zone = malloc_default_zone();
-
-    mach_vm_address_t pageStart = reinterpret_cast&lt;vm_address_t&gt;(zone) &amp; static_cast&lt;vm_size_t&gt;(~(getpagesize() - 1));
-    vm_prot_t initialProtection = protectionOfRegion(pageStart);
-
-    vm_size_t len = reinterpret_cast&lt;vm_address_t&gt;(zone) - pageStart + sizeof(malloc_zone_t);
-    if (mach_vm_protect(mach_task_self(), pageStart, len, 0, initialProtection | VM_PROT_WRITE))
-        CRASH();
-
-    savedMalloc = zone-&gt;malloc;
-    savedRealloc = zone-&gt;realloc;
-    zone-&gt;malloc = checkedMalloc;
-    zone-&gt;realloc = checkedRealloc;
-
-    if (mach_vm_protect(mach_task_self(), pageStart, len, 0, initialProtection))
-        CRASH();
-}
</del></span></pre></div>
<a id="trunkToolsDumpRenderTreemacCheckedMalloch"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/DumpRenderTree/mac/CheckedMalloc.h (209515 => 209516)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/mac/CheckedMalloc.h        2016-12-08 03:22:36 UTC (rev 209515)
+++ trunk/Tools/DumpRenderTree/mac/CheckedMalloc.h        2016-12-08 03:26:10 UTC (rev 209516)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-/*
- * Copyright (C) 2005, 2006, 2007 Apple, Inc.  All rights reserved.
- *           (C) 2007 Graham Dennis (graham.dennis@gmail.com)
- *           (C) 2007 Eric Seidel &lt;eric@webkit.org&gt;
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer. 
- * 2.  Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution. 
- * 3.  Neither the name of Apple Inc. (&quot;Apple&quot;) nor the names of
- *     its contributors may be used to endorse or promote products derived
- *     from this software without specific prior written permission. 
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS &quot;AS IS&quot; AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-void makeLargeMallocFailSilently();
</del></span></pre></div>
<a id="trunkToolsDumpRenderTreemacDumpRenderTreemm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm (209515 => 209516)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm        2016-12-08 03:22:36 UTC (rev 209515)
+++ trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm        2016-12-08 03:26:10 UTC (rev 209516)
</span><span class="lines">@@ -31,7 +31,6 @@
</span><span class="cx"> #import &quot;DumpRenderTree.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #import &quot;AccessibilityController.h&quot;
</span><del>-#import &quot;CheckedMalloc.h&quot;
</del><span class="cx"> #import &quot;DefaultPolicyDelegate.h&quot;
</span><span class="cx"> #import &quot;DumpRenderTreeDraggingInfo.h&quot;
</span><span class="cx"> #import &quot;DumpRenderTreePasteboard.h&quot;
</span><span class="lines">@@ -1247,8 +1246,6 @@
</span><span class="cx">     
</span><span class="cx">     allocateGlobalControllers();
</span><span class="cx">     
</span><del>-    makeLargeMallocFailSilently();
-
</del><span class="cx"> #if PLATFORM(MAC)
</span><span class="cx">     NSActivityOptions options = (NSActivityUserInitiatedAllowingIdleSystemSleep | NSActivityLatencyCritical) &amp; ~(NSActivitySuddenTerminationDisabled | NSActivityAutomaticTerminationDisabled);
</span><span class="cx">     static id assertion = [[[NSProcessInfo processInfo] beginActivityWithOptions:options reason:@&quot;DumpRenderTree should not be subject to process suppression&quot;] retain];
</span></span></pre>
</div>
</div>

</body>
</html>