Fix compile error about base_unittests on Loongson.
This CL fixes the build error with the following message:
     ../../base/allocator/partition_allocator/partition_alloc_unittest.cc: In member function ‘virtual void base::internal::PartitionAllocTest_PurgeDiscardable_Test::TestBody()’:
     ../../base/allocator/partition_allocator/partition_alloc_unittest.cc:1905:42: error: ‘PartitionAllocGeneric’ was not declared in this scope
          char* ptr1 = reinterpret_cast<char*>(PartitionAllocGeneric(
                                          ^~~~~~~~~~~~~~~~~~~~~
     ../../base/allocator/partition_allocator/partition_alloc_unittest.cc:1905:42: note: suggested alternative: ‘PartitionAllocatorGeneric’
          char* ptr1 = reinterpret_cast<char*>(PartitionAllocGeneric(
                                          ^~~~~~~~~~~~~~~~~~~~~
                                          PartitionAllocatorGeneric
     ../../base/allocator/partition_allocator/partition_alloc_unittest.cc:1909:5: error: ‘PartitionFreeGeneric’ was not declared in this scope
          PartitionFreeGeneric(generic_allocator.root(), ptr1);
Bug= 859785
R= haraken@chromium.org
Change-Id: I6e06534ba78fa7a3742ec3585502d60943374b1a
Reviewed-on: https://chromium-review.googlesource.com/1123931Reviewed-by:  Kentaro Hara <haraken@chromium.org>
Commit-Queue: 汪 清 <wangqing-hf@loongson.cn>
Cr-Commit-Position: refs/heads/master@{#572150}
Kentaro Hara <haraken@chromium.org>
Commit-Queue: 汪 清 <wangqing-hf@loongson.cn>
Cr-Commit-Position: refs/heads/master@{#572150}
Showing
Please register or sign in to comment