summaryrefslogtreecommitdiffstats
path: root/third_party
Commit message (Collapse)AuthorAgeFilesLines
* Make sure my recent changes are represented in the patches.cevans@chromium.org2009-10-013-391/+1934
| | | | | | | | | | | Split out the fts2 changes a little. BUG=NONE TEST=Applied the patches in order to check for mistakes. Review URL: http://codereview.chromium.org/243068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27787 0039d316-1c4b-4281-b951-d872f2087c98
* Some simple doc updates for README.chromium:cevans@chromium.org2009-10-011-4/+17
| | | | | | | | | | | | | - Note which sqlite version we are based off. - Note some prerequisite packages for running the tests. - Note that a couple of tests fail. BUG=n/a TEST=n/a Review URL: http://codereview.chromium.org/257016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27738 0039d316-1c4b-4281-b951-d872f2087c98
* Set JEMalloc as the default allocator (instead of TCMalloc)jar@chromium.org2009-10-011-1/+1
| | | | | | | | | | | | | | | | | I got this change approved to try out earlier, and landed it. I rolled it back (to be conservative) after I got a chromebot run started. Since that bot run didn't show any giant problems, this will re-land the change, so we can see how users (such as on a dev channel release) do with this allocator. This is really experimental... but it will give us some info to make a better decision between ongoing tuning of TCMalloc and at least temporarilly using JEMalloc. tbr=mbelshe Review URL: http://codereview.chromium.org/256024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27708 0039d316-1c4b-4281-b951-d872f2087c98
* Revert to using TCMallocjar@chromium.org2009-10-011-1/+1
| | | | | | | | | | | I wanted to see how the chromebot would do with JEMalloc. I just checked it in, and after a chrome-bot run kicks off, I'll land this effectively reverting rev 27702 back to using TCMalloc. tbr=mbelshe Review URL: http://codereview.chromium.org/242092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27703 0039d316-1c4b-4281-b951-d872f2087c98
* Try to use JEMALLOC as the default allocatorjar@chromium.org2009-10-011-2/+2
| | | | | | | r=jamesr,mbelshe Review URL: http://codereview.chromium.org/244055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27702 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback Scavenge implemetation and rely on existing functionality to freejar@chromium.org2009-10-018-723/+6
| | | | | | | | | | | | | | This is a landing of a patch provided by antonm. See: http://codereview.chromium.org/235022 Also included change to browser_about_handler.cc to fix build, and I set TCMALLOC_RELEASE_RATE to 1.0 on line 40 of page_heap.cc (I think this was an inadvertent rollback element). r=antonm Review URL: http://codereview.chromium.org/257009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27692 0039d316-1c4b-4281-b951-d872f2087c98
* Fix numerous bugs in fts2 where a corrupt fts2 database could causecevans@chromium.org2009-09-301-237/+515
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out-of-bounds reads and writes. Apologies for the size of the change but once I got cranking, it was about half a day to clean up most of the memory errors. This should not conflict with the in-progress sqlite-3.6.18 upgrade. I diffed sqlite-3.6.1 vs. sqlite-3.6.18 and the only changes to fts2.c were two spelling corrections in comments. These changes are not whimsical -- they do map to crashes we are seeing in the wild, e.g. 1) Crash in allocator just after leafReaderStep: http://crash/reportdetail?reportid=303de6d80936c11d 2) Crash in memcpy in leafReaderStep: http://crash/reportdetail?reportid=6b2c65459042e67c 3) Crash in memcpy in interiorReaderStep: http://crash/reportdetail?reportid=9f7ba5c321846302 4) Crash in loop in dlrStep trying to read past end of buffer: http://crash/reportdetail?reportid=61b2eb58397913b2 In addition, this will give relief to users who have (for whatever root cause) persistent corruption in their databases. Once you get into that state, Chrome might be unlaunchable or it might crash multiple times per day. There's a small chance this might help with our biggest crasher, as certain types of corrupt database could corrupt memory rather than crashing immediately. BUG=NONE TEST=Running with tricked out build with assert()s to check for false positives. Review URL: http://codereview.chromium.org/216026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27679 0039d316-1c4b-4281-b951-d872f2087c98
* gyp changes to enable building OCMock. Patch from Paul Wicks ↵pinkerton@chromium.org2009-09-291-0/+63
| | | | | | | | | (pwicks86@gmail.com). TEST=Use OCMock in a test BUG=NONE git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27506 0039d316-1c4b-4281-b951-d872f2087c98
* Incorporated initial WebGL implementation for Chrome, currentlykbr@google.com2009-09-287-0/+27102
| | | | | | | | | | | | | | | | | disabled in the build. Change ENABLE_3D_CANVAS to 1 in src/third_party/WebKit/WebKit/chromium/features.gypi and regenerate project files to compile. Current code is Windows-specific and requires the sandbox to be disabled. Follow-on work will add ports to other platforms and eventually work with the sandbox enabled. This CL follows https://bugs.webkit.org/show_bug.cgi?id=29664 . BUG=http://code.google.com/p/chromium/issues/detail?id=21852 TEST=none (runs preexisting WebGL layout tests; more coming) Review URL: http://codereview.chromium.org/219001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27404 0039d316-1c4b-4281-b951-d872f2087c98
* Use base/logging from chrome/browser/sync. Add a macro to libjingle'snick@chromium.org2009-09-263-3/+12
| | | | | | | | | logging.h to suppress the definition of LOG() and friends unless explicitly requested. Fix gyp paths to overrides files. Review URL: http://codereview.chromium.org/225001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27316 0039d316-1c4b-4281-b951-d872f2087c98
* Rename "xmpp/constants.*" to" xmpp/xmppconstants.*"nick@chromium.org2009-09-2519-19/+21
| | | | | | | | | | The intent is to fix a link error that seems to happen when two compilation units share a filename: there is another constants.cc in p2p/base. Touch xmppconstants.h to work around a git cl upload bug. Review URL: http://codereview.chromium.org/244010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27283 0039d316-1c4b-4281-b951-d872f2087c98
* Remove COMPILER_MSVC flags from gyp files. When we do need it, we cannick@chromium.org2009-09-252-3/+1
| | | | | | | | | | get it from the build/build_config.h. TEST=unit tests BUG=none Review URL: http://codereview.chromium.org/248004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27280 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a few \r\ns I accidentally added to a comment.jamesr@chromium.org2009-09-251-2/+2
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/245006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27257 0039d316-1c4b-4281-b951-d872f2087c98
* Add Apple's ImageAndTextCell to third_party.thakis@chromium.org2009-09-252-0/+229
| | | | | | | | | | | | | I asked dannyb@, he was ok with that as long as we put it somewhere into third_party. The code will be used e.g. in the search engine manager, the task manager and maybe in the frozen renderer dialog. I copied the files from /Developer/Examples/AppKit/DragNDropOutlineView on a Leopard system (and copied the license notice from the m file to the h file). TEST=none BUG=none Review URL: http://codereview.chromium.org/231026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27211 0039d316-1c4b-4281-b951-d872f2087c98
* Rounds up VirtualAlloc calls on windows to dwAllocationGranularity to ↵jamesr@chromium.org2009-09-251-19/+20
| | | | | | | | | | | | | | | | | | | | | | prevent fragmentation Actually on Windows VirtualAlloc'ated address might have bigger alignment than reported by SYSTEM_INFO.dwPageSize, see SYSTEM_INFO.dwAllocationGranularity. As coalescing of spans in tcmalloc requires that those spans are physically adjacent, using smaller alignment inhibited coalescing. Additional benefit is we now require ways less memory at least in some case. Also adds assert()s for alignment values that would lead to pathological virtual address space waste. No current callers pass in alignment values other than kPageSize and it's unlikely anyone will. Original patch and discussion was at http://codereview.chromium.org/235003 Patch by: antonm@chromium.org BUG=22701 TEST=Manually checked test page that did 10m XHR. Memory use goes from >2GB and a crash to 102MB. Membuster shows the change is roughly within noise and possibly a very slight regression ( <<5% ). Review URL: http://codereview.chromium.org/222028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27162 0039d316-1c4b-4281-b951-d872f2087c98
* Preliminary fixes to enable link dependent objects.maruel@chromium.org2009-09-241-2/+0
| | | | | | | | BUG=22926 TEST=still builds Review URL: http://codereview.chromium.org/231020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27112 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a linker warning for sqlite compiled with a sufficiently optimizing ↵mdm@chromium.org2009-09-243-1/+21
| | | | | | | | | | | compiler. BUG=22635 TEST=none Review URL: http://codereview.chromium.org/231010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27078 0039d316-1c4b-4281-b951-d872f2087c98
* Update documentation on how to merge in new SQLite versions. No code change.mdm@chromium.org2009-09-234-87/+835
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/209058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26986 0039d316-1c4b-4281-b951-d872f2087c98
* Move OCMock from third_party/ocmock to third_party/ocmock/OCMockmark@chromium.org2009-09-2360-1/+1
| | | | | | | | | | | | | | | | | | | | "...may be suffering from what we in the soft sciences call 'Obsessive Compulsive Disorder,' or the 'The O.C. Disorder.'" Here's what we're doing: mkdir OCMock svn add OCMock for i in * ; do if [ "${i}" != "OCMock" ] && [ "${i}" != "README.chromium" ] ; then svn move "${i}" OCMock fi done and make the SVN URL in README.chromium a tiny bit more specific. Review URL: http://codereview.chromium.org/220017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26969 0039d316-1c4b-4281-b951-d872f2087c98
* Add OCMock testing framework to third_party.pinkerton@chromium.org2009-09-2260-0/+4452
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/216025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26807 0039d316-1c4b-4281-b951-d872f2087c98
* Update libjingle to build on Linuxzork@chromium.org2009-09-218-58/+306
| | | | | | Review URL: http://codereview.chromium.org/207024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26705 0039d316-1c4b-4281-b951-d872f2087c98
* tcmalloc tests & bug fixes:mbelshe@google.com2009-09-195-5/+539
| | | | | | | | | | | | | | | | | | | | | | | | | | | bugfixes: 1) calling the new handler would return true when exceptions were disabled. In Chrome's case, this didn't matter, because we use a handler which forces a crash. However, if you use a different handler that doesn't crash, this causes a loop - forever calling the new handler. Return false instead as there is no other way to break the loop. 2) recalloc() was broken. It was zeroing the buffer on recalloc calls, which is incorrect. testing: I took a set of tests from tcmalloc and applied them into a new unittest. The new unittest can test all allocators used by the allocator-shim. I included the atomic tests in here, simply because it was easy to do, and it seemed it could prove useful for cross platform testing. Overall, I'd say these are a sanity test, and not a comprehensive test. BUG=none TEST=tcmalloc_unittests.cc Review URL: http://codereview.chromium.org/213030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26651 0039d316-1c4b-4281-b951-d872f2087c98
* Disable FFmpeg logging as it interferes with layout tests.scherkus@chromium.org2009-09-191-0/+1
| | | | | | | | | | | | We could disable logging as soon as FFmpeg is loaded in InitializeMediaLibrary(), but we may want logging enabled for different applications using the media library (i.e., media_bench). BUG=16779 TEST=running chrome, test_shell on theora videos shouldn't print any boring log messages Review URL: http://codereview.chromium.org/212013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26641 0039d316-1c4b-4281-b951-d872f2087c98
* Update ffmpeg binaries directories to support variants based off the target ↵ajwong@chromium.org2009-09-181-12/+13
| | | | | | | | | | | architecture. BUG=20948 TEST=none Review URL: http://codereview.chromium.org/215016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26630 0039d316-1c4b-4281-b951-d872f2087c98
* Update sqlite to version 3.6.18, porting our patches.mdm@chromium.org2009-09-18468-37966/+148898
| | | | | | | | | Hopefully this will help to address some valgrind issues. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26596 0039d316-1c4b-4281-b951-d872f2087c98
* Fix expat.gyp to build on Linuxzork@chromium.org2009-09-181-2/+13
| | | | | | Review URL: http://codereview.chromium.org/212017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26585 0039d316-1c4b-4281-b951-d872f2087c98
* Update NPAPI header file to v24, apply Google modificationsamanda@chromium.org2009-09-181-249/+368
| | | | | | Review URL: http://codereview.chromium.org/208007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26579 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak Carlos' change to cater for the additional cases:cevans@chromium.org2009-09-171-3/+7
| | | | | | | | | | | | | | - More (ordered) segments than we expect - would previously cause stack-based buffer overflow. - Less segments than we expect, where the missing segments are a strict truncation rather than missing in the middle. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/209001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26493 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing gclient dependencies to .gitignore.maruel@chromium.org2009-09-171-570/+570
| | | | | | | | | | | | | | Fix the format of many directories so they don't show up in git status anymore. Run dos2unix on *.cc, caught many inconsistent and CRLF files. TBR=evan TEST=still build, git status shows nothing BUG=none Review URL: http://codereview.chromium.org/211010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26441 0039d316-1c4b-4281-b951-d872f2087c98
* Set svn:eol-style = LF on some files in sqlite.mark@chromium.org2009-09-161-6294/+6294
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26388 0039d316-1c4b-4281-b951-d872f2087c98
* Build the sync unit tests:nick@chromium.org2009-09-161-5/+5
| | | | | | | | | | | | | | | | | | | - Remove old main(argc, argv) from syncable_unittest. - Since the old notifier target had only one unittest, merge it with the syncer tests. - Remove listener_unittest.cc entirely. - Don't compile natserver_main.cc, which has another main() - Use a test main from the test_support_unit library. This has the downside of pulling in a lot of deps we don't need, but it gives us a run_all_unittests.cc. - Fix a few compile errors in test code. TEST=unit tests pass BUG=none Review URL: http://codereview.chromium.org/205021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26358 0039d316-1c4b-4281-b951-d872f2087c98
* Properly only add linker flag for linux/freebsd.thomasvl@chromium.org2009-09-161-8/+10
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/195103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26343 0039d316-1c4b-4281-b951-d872f2087c98
* Force inclusion of build/common.gypi for all chromium gyp files.yaar@chromium.org2009-09-1519-57/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Why: Simpler build code. If everybody includes it, it should be included automatically. Why now: The webkit chromium builds need it be specified, since can't default to build/common.gypi. What was done: 1. build/common.gypi's contents were moved to a new file build/gyp_chromium.gypi 2. tools/gyp/gyp_chromium was moved to build/gyp_chromium and made to automatically include build/gyp_chromium.gypi. 3. lots of gyp files were fixed to not refer to build/common.gypi any more. 4. o3d which also builds independently of chrome, was fixed to have a gyp_o3d that includes gyp_chromium.gypi too. 5. build/common.gypi was left empty, because there are some external projects that still refer to it. Things that are left to do after this patch is in: 1. The following external files (in other repositories) need to stop include common.gypi ./third_party/hunspell/hunspell.gyp ./third_party/icu/icu.gyp ./v8/tools/gyp/v8.gyp 2. Once nobody refers to common.gypi anymore, delete common.gypi -or- Delete gyp_chromium.gypi and move its content back to common.gypi Tested on mac, win and linux. On win, got a few unit tests errors on chrome bookmarks, which should not be related. I'm running again with clobber to verify. Review URL: http://codereview.chromium.org/206006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26302 0039d316-1c4b-4281-b951-d872f2087c98
* Issue 172109: Enable scavenging in RenderThread::IdleHandler.agl@chromium.org2009-09-156-3/+586
| | | | | | | | | | | | Landing of Anton Muhin's patch (antonm@google.com) (Reland. First landed in r26264, reverted in r26276. This reland hopefully doesn't build tcmalloc on Linux.) Review URL: http://codereview.chromium.org/206017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26298 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Linux shared build.thestig@chromium.org2009-09-154-5/+33
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/203076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26291 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Issue 172109: Enable scavenging in RenderThread::IdleHandler."agl@chromium.org2009-09-156-586/+3
| | | | | | | This reverts commit r26264. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26276 0039d316-1c4b-4281-b951-d872f2087c98
* Issue 172109: Enable scavenging in RenderThread::IdleHandler.mbelshe@google.com2009-09-156-3/+586
| | | | | | | | | | | | Landing of Anton Muhin's patch (antonm@google.com) BUG=none TEST=none Review URL: http://codereview.chromium.org/206017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26264 0039d316-1c4b-4281-b951-d872f2087c98
* Remove svn:execute from many files in third_party/sqlite. No code change.mdm@chromium.org2009-09-15412-0/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/205005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26235 0039d316-1c4b-4281-b951-d872f2087c98
* Remove third_party/pthread because no one uses it.tim@chromium.org2009-09-152-14/+0
| | | | | | Review URL: http://codereview.chromium.org/196106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26215 0039d316-1c4b-4281-b951-d872f2087c98
* Add libjingle version 0.4.0, plus some patchesnick@chromium.org2009-09-14264-0/+54701
| | | | | | | | | | | | | | | | that are described in README.chromium and a .diff file, under review separately. I removed some of the weightier autoconf/configure scripts. This brought the size of the library from 3.8MB to about 2.3MB. BUG=none TEST=none Review URL: http://codereview.chromium.org/199090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26154 0039d316-1c4b-4281-b951-d872f2087c98
* Add expat, a lightweight xml parser, to third_party.nick@chromium.org2009-09-1431-0/+15962
| | | | | | | | | | Libjingle depends on it. BUG=none TEST=none Review URL: http://codereview.chromium.org/203022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26139 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crasher in full text search (sqlite)cpu@chromium.org2009-09-141-2/+5
| | | | | | | | | | | | | | | | - If the xxx_segdir table gets corrupted, you can have non-contiguous indexes (idx). - This causes an assertion in debug, and a crash later on on release With this change it will return 'corrupted db' We shall wait to get a couple more fixes to upstream to sqlite org. BUG=21377 TEST=see bug Review URL: http://codereview.chromium.org/203046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26118 0039d316-1c4b-4281-b951-d872f2087c98
* Remove xmlcatalog and xmllint from the build since we're not actuallytony@chromium.org2009-09-104-54/+0
| | | | | | | | | using them for anything. Review URL: http://codereview.chromium.org/192068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25893 0039d316-1c4b-4281-b951-d872f2087c98
* Use separate *_dummy.cc files to force xmlcatalog and xmllint to besgk@google.com2009-09-104-4/+6
| | | | | | | | | linked with g++ instead of gcc. BUG=none TEST=build without warnings Review URL: http://codereview.chromium.org/202046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25883 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 25818 - Explicitly only use xmldummy_mac.cc on Mac systems, since ↵sgk@google.com2009-09-101-10/+2
| | | | | | | | | | | | | | libxml (as thirdparty code) doesn't exclude _mac.cc files automatically. BUG=none TEST=build without warning Review URL: http://codereview.chromium.org/194062 TBR=sgk@google.com Review URL: http://codereview.chromium.org/201074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25823 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarilly comment out SQLite load optimizationjar@chromium.org2009-09-101-1/+1
| | | | | | | | | | | | | This is meant to test to see if we can reduce SQL related crashes by removing the pre-load optimization. I also added a line of defensive code (initializing a pointer). r=brettw Review URL: http://codereview.chromium.org/203011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25822 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly only use xmldummy_mac.cc on Mac systems, since libxml (assgk@google.com2009-09-091-2/+10
| | | | | | | | | third-party code) doesn't exclude _mac.cc files automatically. BUG=none TEST=build without warning Review URL: http://codereview.chromium.org/194062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25818 0039d316-1c4b-4281-b951-d872f2087c98
* Replace icu38/icu38.gyp with icu/icu.gyp in gyp files replace all the ↵jshin@chromium.org2009-09-097-11/+21
| | | | | | | | | | | | | | | | | | references to third_party/icu38 and icudt38.dll with third_party/icu and icudt42.dll in vsprops and cc files. Also, update the icu data module name and the icu data symbol in icu_util.cc In addition, add a dummy C++ source file (xmldummy_mac.cc) to libxml to work around an Xcode bug (xmllint and xmlcatalog are linked with gcc rather than g++ even though it's linked to a "C++ library", libicuuc.a). Also updated is the test results for net_util_unittests. This will not be landed until deps/third_party/icu42 is ready for all 3 platforms (Windows VS build files are not yet updated there). BUG=8198 TEST=On all platforms, all the targets are built fine. Review URL: http://codereview.chromium.org/172031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25708 0039d316-1c4b-4281-b951-d872f2087c98
* Fix realloc to not call the new_handler (which is for failures)mbelshe@google.com2009-09-091-1/+5
| | | | | | | | | | | | when the request was for realloc(ptr, 0). Calling realloc(ptr, 0) is valid, and we should delete ptr and return NULL. BUG=none TEST=none Review URL: http://codereview.chromium.org/194040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25700 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the windows allocator to behave properly on realloc.mbelshe@google.com2009-09-081-10/+14
| | | | | | | | | | | | | The spec says that calling realloc(ptr, 0) should free ptr and return NULL. BUG=none TEST=none Review URL: http://codereview.chromium.org/196041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25612 0039d316-1c4b-4281-b951-d872f2087c98