Changeset 244574 in webkit
- Timestamp:
- Apr 23, 2019 5:29:55 PM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r244566 r244574 1 2019-04-23 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r244558. 4 https://bugs.webkit.org/show_bug.cgi?id=197219 5 6 Causing crashes on iOS Sim Release and Debug (Requested by 7 ShawnRoberts on #webkit). 8 9 Reverted changeset: 10 11 "Remove DeprecatedOptional" 12 https://bugs.webkit.org/show_bug.cgi?id=197161 13 https://trac.webkit.org/changeset/244558 14 1 15 2019-04-23 Devin Rousso <drousso@apple.com> 2 16 -
trunk/Source/JavaScriptCore/inspector/InspectorBackendDispatcher.cpp
r244558 r244574 271 271 } 272 272 273 void BackendDispatcher::reportProtocolError(WTF::DeprecatedOptional<long> relatedRequestId, CommonErrorCode errorCode, const String& errorMessage) 274 { 275 if (relatedRequestId) 276 reportProtocolError(relatedRequestId.value(), errorCode, errorMessage); 277 else 278 reportProtocolError(WTF::nullopt, errorCode, errorMessage); 279 } 280 273 281 template<typename T> 274 282 T BackendDispatcher::getPropertyValue(JSON::Object* object, const String& name, bool* out_optionalValueFound, T defaultValue, std::function<bool(JSON::Value&, T&)> asMethod, const char* typeName) -
trunk/Source/JavaScriptCore/inspector/InspectorBackendDispatcher.h
r244558 r244574 30 30 #include "InspectorProtocolTypes.h" 31 31 #include <functional> 32 #include <wtf/DeprecatedOptional.h> 32 33 #include <wtf/Optional.h> 33 34 #include <wtf/RefCounted.h> … … 110 111 BackendDispatcher(Ref<FrontendRouter>&&); 111 112 113 // This is necessary for some versions of Safari. Remove it when those versions of Safari are no longer supported. 114 void reportProtocolError(WTF::DeprecatedOptional<long> relatedRequestId, CommonErrorCode, const String& errorMessage); 115 112 116 Ref<FrontendRouter> m_frontendRouter; 113 117 HashMap<String, SupplementalBackendDispatcher*> m_dispatchers; -
trunk/Source/WTF/ChangeLog
r244558 r244574 1 2019-04-23 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r244558. 4 https://bugs.webkit.org/show_bug.cgi?id=197219 5 6 Causing crashes on iOS Sim Release and Debug (Requested by 7 ShawnRoberts on #webkit). 8 9 Reverted changeset: 10 11 "Remove DeprecatedOptional" 12 https://bugs.webkit.org/show_bug.cgi?id=197161 13 https://trac.webkit.org/changeset/244558 14 1 15 2019-04-23 Alex Christensen <achristensen@webkit.org> 2 16 -
trunk/Source/WTF/WTF.xcodeproj/project.pbxproj
r244558 r244574 469 469 A5098AFF1C169E0700087797 /* SandboxSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SandboxSPI.h; sourceTree = "<group>"; }; 470 470 A5098B011C16A4F900087797 /* SecuritySPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SecuritySPI.h; sourceTree = "<group>"; }; 471 A561F30F1DF2642100FF675D /* DeprecatedOptional.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeprecatedOptional.h; sourceTree = "<group>"; }; 471 472 A5BA15F2182433A900A82E69 /* StringCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = StringCocoa.mm; sourceTree = "<group>"; }; 472 473 A5BA15F41824348000A82E69 /* StringImplCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = StringImplCocoa.mm; sourceTree = "<group>"; }; … … 925 926 996B17841EBA441C007E10EB /* DebugUtilities.h */, 926 927 0F2B66A417B6B4F700A7AE3F /* DeferrableRefCounted.h */, 928 A561F30F1DF2642100FF675D /* DeprecatedOptional.h */, 927 929 A8A4727E151A825A004123FF /* Deque.h */, 928 930 A9A4727F151A825A004123FF /* DisallowCType.h */, … … 1534 1536 0F9D3360165DBA73005AD387 /* FilePrintStream.cpp in Sources */, 1535 1537 A331D95B21F24992009F02AA /* FileSystem.cpp in Sources */, 1538 FE1E2C42224187C600F6B729 /* PlatformRegisters.cpp in Sources */, 1536 1539 A331D95D21F249E4009F02AA /* FileSystemCF.cpp in Sources */, 1537 1540 A331D95F21F249F6009F02AA /* FileSystemCocoa.mm in Sources */, … … 1575 1578 51F1752C1F3D486000C74950 /* PersistentDecoder.cpp in Sources */, 1576 1579 51F1752D1F3D486000C74950 /* PersistentEncoder.cpp in Sources */, 1577 FE1E2C42224187C600F6B729 /* PlatformRegisters.cpp in Sources */,1578 1580 0F9D3362165DBA73005AD387 /* PrintStream.cpp in Sources */, 1579 1581 7AF023B52061E17000A8EFD6 /* ProcessPrivilege.cpp in Sources */, 1580 FE1E2C3B2240C06600F6B729 /* PtrTag.cpp in Sources */,1581 1582 143F611F1565F0F900DB514A /* RAMSize.cpp in Sources */, 1582 1583 A3B725EC987446AD93F1A440 /* RandomDevice.cpp in Sources */, … … 1629 1630 1C181C911D307AB800F5FA16 /* UTextProviderLatin1.cpp in Sources */, 1630 1631 1C181C931D307AB800F5FA16 /* UTextProviderUTF16.cpp in Sources */, 1632 FE1E2C3B2240C06600F6B729 /* PtrTag.cpp in Sources */, 1631 1633 A8A47469151A825B004123FF /* UTF8Conversion.cpp in Sources */, 1632 1634 7AFEC6B11EB22B5900DADE36 /* UUID.cpp in Sources */, -
trunk/Source/WTF/wtf/CMakeLists.txt
r244558 r244574 48 48 DebugUtilities.h 49 49 DeferrableRefCounted.h 50 DeprecatedOptional.h 50 51 Deque.h 51 52 DisallowCType.h
Note: See TracChangeset
for help on using the changeset viewer.