Changeset 220538 in webkit
- Timestamp:
- Aug 10, 2017 12:05:51 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r220532 r220538 1 2017-08-10 Tim Horton <timothy_horton@apple.com> 2 3 Remove some unused lambda captures so that WebKit builds with -Wunused-lambda-capture 4 https://bugs.webkit.org/show_bug.cgi?id=175436 5 <rdar://problem/33667497> 6 7 Reviewed by Simon Fraser. 8 9 * interpreter/Interpreter.cpp: 10 (JSC::Interpreter::Interpreter): 11 1 12 2017-08-10 Michael Catanzaro <mcatanzaro@igalia.com> 2 13 -
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r218820 r220538 323 323 #if !ASSERT_DISABLED 324 324 static std::once_flag assertOnceKey; 325 std::call_once(assertOnceKey, [ this] {325 std::call_once(assertOnceKey, [] { 326 326 for (unsigned i = 0; i < NUMBER_OF_BYTECODE_IDS; ++i) { 327 327 OpcodeID opcodeID = static_cast<OpcodeID>(i); -
trunk/Source/WebCore/ChangeLog
r220535 r220538 1 2017-08-10 Tim Horton <timothy_horton@apple.com> 2 3 Remove some unused lambda captures so that WebKit builds with -Wunused-lambda-capture 4 https://bugs.webkit.org/show_bug.cgi?id=175436 5 <rdar://problem/33667497> 6 7 Reviewed by Simon Fraser. 8 9 * platform/audio/cocoa/MediaSessionManagerCocoa.cpp: 10 (PlatformMediaSessionManager::updateSessionState): 11 * platform/graphics/cocoa/WebCoreDecompressionSession.mm: 12 (WebCore::WebCoreDecompressionSession::handleDecompressionOutput): 13 1 14 2017-08-10 Commit Queue <commit-queue@webkit.org> 2 15 -
trunk/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.cpp
r217999 r220538 63 63 bool hasWebAudioType = false; 64 64 bool hasAudibleAudioOrVideoMediaType = false; 65 bool hasAudioCapture = anyOfSessions([ this,&hasWebAudioType, &hasAudibleAudioOrVideoMediaType] (PlatformMediaSession& session, size_t) mutable {65 bool hasAudioCapture = anyOfSessions([&hasWebAudioType, &hasAudibleAudioOrVideoMediaType] (PlatformMediaSession& session, size_t) mutable { 66 66 auto type = session.mediaType(); 67 67 if (type == PlatformMediaSession::WebAudio) -
trunk/Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.mm
r219457 r220538 225 225 void WebCoreDecompressionSession::handleDecompressionOutput(bool displaying, OSStatus status, VTDecodeInfoFlags infoFlags, CVImageBufferRef rawImageBuffer, CMTime presentationTimeStamp, CMTime presentationDuration) 226 226 { 227 UNUSED_PARAM(status); 228 UNUSED_PARAM(infoFlags); 229 227 230 CMVideoFormatDescriptionRef rawImageBufferDescription = nullptr; 228 231 if (noErr != CMVideoFormatDescriptionCreateForImageBuffer(kCFAllocatorDefault, rawImageBuffer, &rawImageBufferDescription)) … … 241 244 RefPtr<WebCoreDecompressionSession> protectedThis { this }; 242 245 RetainPtr<CMSampleBufferRef> imageSampleBuffer = adoptCF(rawImageSampleBuffer); 243 dispatch_async(m_enqueingQueue.get(), [protectedThis, status, imageSampleBuffer, infoFlags, displaying] { 244 UNUSED_PARAM(infoFlags); 246 dispatch_async(m_enqueingQueue.get(), [protectedThis, imageSampleBuffer, displaying] { 245 247 protectedThis->enqueueDecodedSample(imageSampleBuffer.get(), displaying); 246 248 }); -
trunk/Source/WebKit/ChangeLog
r220532 r220538 1 2017-08-10 Tim Horton <timothy_horton@apple.com> 2 3 Remove some unused lambda captures so that WebKit builds with -Wunused-lambda-capture 4 https://bugs.webkit.org/show_bug.cgi?id=175436 5 <rdar://problem/33667497> 6 7 Reviewed by Simon Fraser. 8 9 * UIProcess/UserMediaPermissionRequestManagerProxy.cpp: 10 (WebKit::UserMediaPermissionRequestManagerProxy::requestUserMediaPermissionForFrame): 11 * UIProcess/WebsiteData/WebsiteDataStore.cpp: 12 (WebKit::WebsiteDataStore::topPrivatelyControlledDomainsWithWebsiteData): 13 1 14 2017-08-10 Michael Catanzaro <mcatanzaro@igalia.com> 2 15 -
trunk/Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp
r219588 r220538 306 306 }; 307 307 308 auto haveDeviceSaltHandler = [this, userMediaID,validHandler = WTFMove(validHandler), invalidHandler = WTFMove(invalidHandler), audioConstraints = WebCore::MediaConstraints(audioConstraints), videoConstraints = WebCore::MediaConstraints(videoConstraints)](uint64_t userMediaID, String&& deviceIdentifierHashSalt, bool originHasPersistentAccess) mutable {308 auto haveDeviceSaltHandler = [this, validHandler = WTFMove(validHandler), invalidHandler = WTFMove(invalidHandler), audioConstraints = WebCore::MediaConstraints(audioConstraints), videoConstraints = WebCore::MediaConstraints(videoConstraints)](uint64_t userMediaID, String&& deviceIdentifierHashSalt, bool originHasPersistentAccess) mutable { 309 309 310 310 auto request = m_pendingDeviceRequests.take(userMediaID); -
trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp
r220412 r220538 539 539 void WebsiteDataStore::topPrivatelyControlledDomainsWithWebsiteData(OptionSet<WebsiteDataType> dataTypes, OptionSet<WebsiteDataFetchOption> fetchOptions, Function<void(HashSet<String>&&)>&& completionHandler) 540 540 { 541 fetchData(dataTypes, fetchOptions, [completionHandler = WTFMove(completionHandler), this,protectedThis = makeRef(*this)](auto&& existingDataRecords) {541 fetchData(dataTypes, fetchOptions, [completionHandler = WTFMove(completionHandler), protectedThis = makeRef(*this)](auto&& existingDataRecords) { 542 542 HashSet<String> domainsWithDataRecords; 543 543 for (auto&& dataRecord : existingDataRecords) { -
trunk/Tools/ChangeLog
r220537 r220538 1 2017-08-10 Tim Horton <timothy_horton@apple.com> 2 3 Remove some unused lambda captures so that WebKit builds with -Wunused-lambda-capture 4 https://bugs.webkit.org/show_bug.cgi?id=175436 5 <rdar://problem/33667497> 6 7 Reviewed by Simon Fraser. 8 9 * TestWebKitAPI/Tests/WebCore/FileMonitor.cpp: 10 (TestWebKitAPI::TEST_F): 11 1 12 2017-08-10 Lucas Forschler <lforschler@apple.com> 2 13 -
trunk/Tools/TestWebKitAPI/Tests/WebCore/FileMonitor.cpp
r219219 r220538 150 150 auto testQueue = WorkQueue::create("Test Work Queue"); 151 151 152 auto monitor = std::make_unique<FileMonitor>(tempFilePath(), testQueue.copyRef(), [ this] (FileMonitor::FileChangeType type) {152 auto monitor = std::make_unique<FileMonitor>(tempFilePath(), testQueue.copyRef(), [] (FileMonitor::FileChangeType type) { 153 153 ASSERT(!RunLoop::isMain()); 154 154 switch (type) { … … 192 192 auto testQueue = WorkQueue::create("Test Work Queue"); 193 193 194 auto monitor = std::make_unique<FileMonitor>(tempFilePath(), testQueue.copyRef(), [ this] (FileMonitor::FileChangeType type) {194 auto monitor = std::make_unique<FileMonitor>(tempFilePath(), testQueue.copyRef(), [] (FileMonitor::FileChangeType type) { 195 195 ASSERT(!RunLoop::isMain()); 196 196 switch (type) { … … 252 252 auto testQueue = WorkQueue::create("Test Work Queue"); 253 253 254 auto monitor = std::make_unique<FileMonitor>(tempFilePath(), testQueue.copyRef(), [ this] (FileMonitor::FileChangeType type) {254 auto monitor = std::make_unique<FileMonitor>(tempFilePath(), testQueue.copyRef(), [] (FileMonitor::FileChangeType type) { 255 255 ASSERT(!RunLoop::isMain()); 256 256 switch (type) { … … 291 291 auto testQueue = WorkQueue::create("Test Work Queue"); 292 292 293 auto monitor = std::make_unique<FileMonitor>(tempFilePath(), testQueue.copyRef(), [ this] (FileMonitor::FileChangeType type) {293 auto monitor = std::make_unique<FileMonitor>(tempFilePath(), testQueue.copyRef(), [] (FileMonitor::FileChangeType type) { 294 294 ASSERT(!RunLoop::isMain()); 295 295 switch (type) { … … 348 348 auto testQueue = WorkQueue::create("Test Work Queue"); 349 349 350 auto monitor = std::make_unique<FileMonitor>(tempFilePath(), testQueue.copyRef(), [ this] (FileMonitor::FileChangeType type) {350 auto monitor = std::make_unique<FileMonitor>(tempFilePath(), testQueue.copyRef(), [] (FileMonitor::FileChangeType type) { 351 351 ASSERT(!RunLoop::isMain()); 352 352 switch (type) {
Note: See TracChangeset
for help on using the changeset viewer.