Make sure base and derived class pointers are different in MemoryInstrumentationTest...
authoryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Oct 2012 14:04:18 +0000 (14:04 +0000)
committeryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Oct 2012 14:04:18 +0000 (14:04 +0000)
commit319f8891b97c23a1a3be42bce1ff616971818a83
tree4c8d4f774f93d32bd018cfe1c705b5ce842c99fd
parentd96c4d937c5344aabcb05c3bff3f65d707dacca6
Make sure base and derived class pointers are different in MemoryInstrumentationTest.instrumentedWithMultipleAncestors
https://bugs.webkit.org/show_bug.cgi?id=99987

Reviewed by Alexander Pavlov.

* TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp: changed first parent
class in the list so that it has virtual table as well as the second one. This
way we may be sure that pointer to the second ancestor class will differ from
the pointer to the derived class.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@132068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp