Changeset 216231 in webkit
- Timestamp:
- May 4, 2017, 8:24:55 PM (8 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r216230 r216231 1 2017-05-04 Mark Lam <mark.lam@apple.com> 2 3 API test WTF.StaticStringImpl crashing in TestWebKitAPI::WTF_StaticStringImpl_Test::TestBody() + 3188 4 https://bugs.webkit.org/show_bug.cgi?id=171702 5 6 Reviewed by Filip Pizlo. 7 8 The test was supposed to use the MAKE_STATIC_STRING_IMPL macro. I had previously 9 changed it to instantiate an automatic StaticStringImpl (i.e. stack allocated) to 10 confirm that the test will detect a regression. Unfortunately, I forgot to 11 change it back to using MAKE_STATIC_STRING_IMPL before I landed the test. 12 This patch fixes that. 13 14 * TestWebKitAPI/Tests/WTF/StringImpl.cpp: 15 (TestWebKitAPI::neverDestroyedString): 16 1 17 2017-05-04 Ryan Haddad <ryanhaddad@apple.com> 2 18 -
trunk/Tools/TestWebKitAPI/Tests/WTF/StringImpl.cpp
r216217 r216231 630 630 static const String& neverDestroyedString() 631 631 { 632 static NeverDestroyed<String> str( StaticStringImpl("NeverDestroyedString"));632 static NeverDestroyed<String> str(MAKE_STATIC_STRING_IMPL("NeverDestroyedString")); 633 633 return str; 634 634 };
Note:
See TracChangeset
for help on using the changeset viewer.