Changeset 202686 in webkit


Ignore:
Timestamp:
Jun 30, 2016 10:48:50 AM (8 years ago)
Author:
pvollan@apple.com
Message:

[Win][Debug] Assertion fails in TestWTF.
https://bugs.webkit.org/show_bug.cgi?id=159299

Reviewed by Alex Christensen.

The assert in the & operator in the UniqueRef class fails, because the instance has been moved.
The Windows version of the UNUSED_PARAM macro is getting the address of the parameter, causing
the assertion failure. Since the variable is actually used, there is no need to use the
UNUSED_PARAM macro.

  • TestWebKitAPI/Tests/WTF/UniqueRef.cpp:

(TestWebKitAPI::TEST):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r202681 r202686  
     12016-06-30  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [Win][Debug] Assertion fails in TestWTF.
     4        https://bugs.webkit.org/show_bug.cgi?id=159299
     5
     6        Reviewed by Alex Christensen.
     7
     8        The assert in the & operator in the UniqueRef class fails, because the instance has been moved.
     9        The Windows version of the UNUSED_PARAM macro is getting the address of the parameter, causing
     10        the assertion failure. Since the variable is actually used, there is no need to use the
     11        UNUSED_PARAM macro.
     12
     13        * TestWebKitAPI/Tests/WTF/UniqueRef.cpp:
     14        (TestWebKitAPI::TEST):
     15
    1162016-06-30  Youenn Fablet  <youennf@gmail.com>
    217
  • trunk/Tools/TestWebKitAPI/Tests/WTF/UniqueRef.cpp

    r201941 r202686  
    8080    C i(makeUniqueRef<D>());
    8181   
    82     UNUSED_PARAM(a);
    8382    UNUSED_PARAM(b);
    8483    UNUSED_PARAM(c);
Note: See TracChangeset for help on using the changeset viewer.