Remove operator delete on VS2015 to avoid compiler bug

LOG=N
R=jochen@chromium.org
BUG=chromium:440500

Review URL: https://codereview.chromium.org/1084763002

Cr-Commit-Position: refs/heads/master@{#27853}
This commit is contained in:
scottmg 2015-04-15 09:23:31 -07:00 committed by Commit bot
parent 2064c3c9b2
commit 961e61b012

View File

@ -529,9 +529,12 @@ class FrameDescription {
return malloc(size + frame_size - kPointerSize);
}
// Bug in VS2015 RC, reported fixed in RTM. Microsoft bug: 1153909.
#if !defined(_MSC_FULL_VER) || _MSC_FULL_VER != 190022720
void operator delete(void* pointer, uint32_t frame_size) {
free(pointer);
}
#endif // _MSC_FULL_VER
void operator delete(void* description) {
free(description);