Changeset 218040 in webkit
- Timestamp:
- Jun 9, 2017, 9:30:11 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r218039 r218040 1 2017-06-09 Chris Dumez <cdumez@apple.com> 2 3 Unreviewed attempt to fix Mac build after r218039. 4 5 * loader/ResourceLoader.cpp: 6 (WebCore::ResourceLoader::loadDataURL): 7 * platform/network/DataURLDecoder.h: 8 1 9 2017-06-09 Chris Dumez <cdumez@apple.com> 2 10 -
trunk/Source/WebCore/loader/ResourceLoader.cpp
r217407 r218040 246 246 ASSERT(url.protocolIsData()); 247 247 248 RefPtr<ResourceLoader> protectedThis(this);249 248 DataURLDecoder::ScheduleContext scheduleContext; 250 249 #if HAVE(RUNLOOP_TIMER) … … 252 251 scheduleContext.scheduledPairs = *scheduledPairs; 253 252 #endif 254 DataURLDecoder::decode(url, scheduleContext, [protectedThis , url](auto decodeResult) {253 DataURLDecoder::decode(url, scheduleContext, [protectedThis = makeRef(*this), url](auto decodeResult) { 255 254 if (protectedThis->reachedTerminalState()) 256 255 return; -
trunk/Source/WebCore/platform/network/DataURLDecoder.h
r218039 r218040 28 28 29 29 30 #include < functional>30 #include <wtf/Function.h> 31 31 #include <wtf/Optional.h> 32 32 #include <wtf/text/WTFString.h> … … 50 50 }; 51 51 52 using DecodeCompletionHandler = Function<void (std::optional<Result>)>;52 using DecodeCompletionHandler = WTF::Function<void (std::optional<Result>)>; 53 53 struct ScheduleContext { 54 54 #if HAVE(RUNLOOP_TIMER)
Note:
See TracChangeset
for help on using the changeset viewer.