X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fv8%2Fsrc%2Fallocation.cc;h=b5aa98416b6d917eabafe1bf670da1f14bb27d08;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=98c9be22e020705782a7b42bd88ae8dc7771781f;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/v8/src/allocation.cc b/src/v8/src/allocation.cc index 98c9be2..b5aa984 100644 --- a/src/v8/src/allocation.cc +++ b/src/v8/src/allocation.cc @@ -5,8 +5,8 @@ #include "src/allocation.h" #include // For free, malloc. -#include "src/checks.h" -#include "src/platform.h" +#include "src/base/logging.h" +#include "src/base/platform/platform.h" #include "src/utils.h" #if V8_LIBC_BIONIC @@ -83,7 +83,7 @@ char* StrNDup(const char* str, int n) { void* AlignedAlloc(size_t size, size_t alignment) { - ASSERT(IsPowerOf2(alignment) && alignment >= V8_ALIGNOF(void*)); // NOLINT + DCHECK(IsPowerOf2(alignment) && alignment >= V8_ALIGNOF(void*)); // NOLINT void* ptr; #if V8_OS_WIN ptr = _aligned_malloc(size, alignment);