Changeset 244558 in webkit
- Timestamp:
- Apr 23, 2019 1:25:59 PM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r244506 r244558 1 2019-04-23 Alex Christensen <achristensen@webkit.org> 2 3 Remove DeprecatedOptional 4 https://bugs.webkit.org/show_bug.cgi?id=197161 5 6 Reviewed by Darin Adler. 7 8 * inspector/InspectorBackendDispatcher.cpp: 9 * inspector/InspectorBackendDispatcher.h: 10 1 11 2019-04-22 Yusuke Suzuki <ysuzuki@apple.com> 2 12 -
trunk/Source/JavaScriptCore/inspector/InspectorBackendDispatcher.cpp
r240557 r244558 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 else278 reportProtocolError(WTF::nullopt, errorCode, errorMessage);279 }280 281 273 template<typename T> 282 274 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
r239427 r244558 30 30 #include "InspectorProtocolTypes.h" 31 31 #include <functional> 32 #include <wtf/DeprecatedOptional.h>33 32 #include <wtf/Optional.h> 34 33 #include <wtf/RefCounted.h> … … 111 110 BackendDispatcher(Ref<FrontendRouter>&&); 112 111 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 116 112 Ref<FrontendRouter> m_frontendRouter; 117 113 HashMap<String, SupplementalBackendDispatcher*> m_dispatchers; -
trunk/Source/WTF/ChangeLog
r244496 r244558 1 2019-04-23 Alex Christensen <achristensen@webkit.org> 2 3 Remove DeprecatedOptional 4 https://bugs.webkit.org/show_bug.cgi?id=197161 5 6 Reviewed by Darin Adler. 7 8 This was added in r209326 to be compatible with a shipping version of Safari. 9 We have released several versions of Safari since then, so do what the comments say and remove it. 10 The existence of this std::optional makes migrating to C++17 harder, and there's no reason to keep it. 11 12 * WTF.xcodeproj/project.pbxproj: 13 * wtf/CMakeLists.txt: 14 * wtf/DeprecatedOptional.h: Removed. 15 1 16 2019-04-21 Zan Dobersek <zdobersek@igalia.com> 2 17 -
trunk/Source/WTF/WTF.xcodeproj/project.pbxproj
r243639 r244558 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>"; };472 471 A5BA15F2182433A900A82E69 /* StringCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = StringCocoa.mm; sourceTree = "<group>"; }; 473 472 A5BA15F41824348000A82E69 /* StringImplCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = StringImplCocoa.mm; sourceTree = "<group>"; }; … … 926 925 996B17841EBA441C007E10EB /* DebugUtilities.h */, 927 926 0F2B66A417B6B4F700A7AE3F /* DeferrableRefCounted.h */, 928 A561F30F1DF2642100FF675D /* DeprecatedOptional.h */,929 927 A8A4727E151A825A004123FF /* Deque.h */, 930 928 A9A4727F151A825A004123FF /* DisallowCType.h */, … … 1536 1534 0F9D3360165DBA73005AD387 /* FilePrintStream.cpp in Sources */, 1537 1535 A331D95B21F24992009F02AA /* FileSystem.cpp in Sources */, 1538 FE1E2C42224187C600F6B729 /* PlatformRegisters.cpp in Sources */,1539 1536 A331D95D21F249E4009F02AA /* FileSystemCF.cpp in Sources */, 1540 1537 A331D95F21F249F6009F02AA /* FileSystemCocoa.mm in Sources */, … … 1578 1575 51F1752C1F3D486000C74950 /* PersistentDecoder.cpp in Sources */, 1579 1576 51F1752D1F3D486000C74950 /* PersistentEncoder.cpp in Sources */, 1577 FE1E2C42224187C600F6B729 /* PlatformRegisters.cpp in Sources */, 1580 1578 0F9D3362165DBA73005AD387 /* PrintStream.cpp in Sources */, 1581 1579 7AF023B52061E17000A8EFD6 /* ProcessPrivilege.cpp in Sources */, 1580 FE1E2C3B2240C06600F6B729 /* PtrTag.cpp in Sources */, 1582 1581 143F611F1565F0F900DB514A /* RAMSize.cpp in Sources */, 1583 1582 A3B725EC987446AD93F1A440 /* RandomDevice.cpp in Sources */, … … 1630 1629 1C181C911D307AB800F5FA16 /* UTextProviderLatin1.cpp in Sources */, 1631 1630 1C181C931D307AB800F5FA16 /* UTextProviderUTF16.cpp in Sources */, 1632 FE1E2C3B2240C06600F6B729 /* PtrTag.cpp in Sources */,1633 1631 A8A47469151A825B004123FF /* UTF8Conversion.cpp in Sources */, 1634 1632 7AFEC6B11EB22B5900DADE36 /* UUID.cpp in Sources */, -
trunk/Source/WTF/wtf/CMakeLists.txt
r244349 r244558 48 48 DebugUtilities.h 49 49 DeferrableRefCounted.h 50 DeprecatedOptional.h51 50 Deque.h 52 51 DisallowCType.h
Note: See TracChangeset
for help on using the changeset viewer.