Changeset 260818 in webkit
- Timestamp:
- Apr 28, 2020 4:57:47 AM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r260815 r260818 1 2020-04-28 Adrian Perez de Castro <aperez@igalia.com> 2 3 Non-unified build fixes late April 2020 edition 4 https://bugs.webkit.org/show_bug.cgi?id=211099 5 6 Unreviewed build fix. 7 8 No new tests needed. 9 10 * Modules/cache/DOMCacheStorage.cpp: Sprinkle DOMCacheEngine:: namespace prefixes as needed. 11 (WebCore::DOMCacheStorage::findCacheOrCreate): 12 (WebCore::DOMCacheStorage::retrieveCaches): 13 (WebCore::DOMCacheStorage::doOpen): 14 (WebCore::DOMCacheStorage::doRemove): 15 * bindings/js/JSExecStateInstrumentation.h: Ditto for JSC:: namespace prefixes. 16 (WebCore::JSExecState::instrumentFunction): 17 * dom/ScriptedAnimationController.h: Add missing ReducedResolutionSeconds.h header. 18 * editing/TextCheckingHelper.h: Add missing forward declaration for Position. 19 * html/URLSearchParams.h: Add missing ExceptionOr.h header. 20 1 21 2020-04-28 Charlie Turner <cturner@igalia.com> 2 22 -
trunk/Source/WebCore/Modules/cache/DOMCacheStorage.cpp
r260724 r260818 134 134 } 135 135 136 Ref<DOMCache> DOMCacheStorage::findCacheOrCreate( CacheInfo&& info)136 Ref<DOMCache> DOMCacheStorage::findCacheOrCreate(DOMCacheEngine::CacheInfo&& info) 137 137 { 138 138 auto position = m_caches.findMatching([&] (const auto& cache) { return info.identifier == cache->identifier(); }); … … 150 150 } 151 151 152 m_connection->retrieveCaches(*origin, m_updateCounter, [this, callback = WTFMove(callback), pendingActivity = makePendingActivity(*this)]( CacheInfosOrError&& result) mutable {152 m_connection->retrieveCaches(*origin, m_updateCounter, [this, callback = WTFMove(callback), pendingActivity = makePendingActivity(*this)](DOMCacheEngine::CacheInfosOrError&& result) mutable { 153 153 if (m_isStopped) { 154 154 callback(DOMCacheEngine::convertToException(DOMCacheEngine::Error::Stopped)); … … 165 165 m_updateCounter = cachesInfo.updateCounter; 166 166 167 m_caches = WTF::map(WTFMove(cachesInfo.infos), [this] ( CacheInfo&& info) {167 m_caches = WTF::map(WTFMove(cachesInfo.infos), [this] (DOMCacheEngine::CacheInfo&& info) { 168 168 return findCacheOrCreate(WTFMove(info)); 169 169 }); … … 200 200 } 201 201 202 m_connection->open(*origin(), name, [this, name, promise = WTFMove(promise), pendingActivity = makePendingActivity(*this)](const CacheIdentifierOrError& result) mutable {202 m_connection->open(*origin(), name, [this, name, promise = WTFMove(promise), pendingActivity = makePendingActivity(*this)](const DOMCacheEngine::CacheIdentifierOrError& result) mutable { 203 203 if (!result.has_value()) 204 204 promise.reject(DOMCacheEngine::convertToExceptionAndLog(scriptExecutionContext(), result.error())); … … 233 233 } 234 234 235 m_connection->remove(m_caches[position]->identifier(), [this, name, promise = WTFMove(promise), pendingActivity = makePendingActivity(*this)](const CacheIdentifierOrError& result) mutable {235 m_connection->remove(m_caches[position]->identifier(), [this, name, promise = WTFMove(promise), pendingActivity = makePendingActivity(*this)](const DOMCacheEngine::CacheIdentifierOrError& result) mutable { 236 236 if (!result.has_value()) 237 237 promise.reject(DOMCacheEngine::convertToExceptionAndLog(scriptExecutionContext(), result.error())); -
trunk/Source/WebCore/bindings/js/JSExecStateInstrumentation.h
r260744 r260818 33 33 namespace WebCore { 34 34 35 inline void JSExecState::instrumentFunction(ScriptExecutionContext* context, const CallData& callData)35 inline void JSExecState::instrumentFunction(ScriptExecutionContext* context, const JSC::CallData& callData) 36 36 { 37 37 if (!InspectorInstrumentation::timelineAgentTracking(context)) … … 41 41 int lineNumber = 1; 42 42 int columnNumber = 1; 43 if (callData.type == CallData::Type::JS) {43 if (callData.type == JSC::CallData::Type::JS) { 44 44 resourceName = callData.js.functionExecutable->sourceURL(); 45 45 lineNumber = callData.js.functionExecutable->firstLine(); -
trunk/Source/WebCore/dom/ScriptedAnimationController.h
r260736 r260818 27 27 28 28 #include "DOMHighResTimeStamp.h" 29 #include "ReducedResolutionSeconds.h" 29 30 #include "Timer.h" 30 31 #include <wtf/OptionSet.h> -
trunk/Source/WebCore/editing/TextCheckingHelper.h
r260725 r260818 28 28 namespace WebCore { 29 29 30 class Position; 30 31 struct TextCheckingResult; 31 32 -
trunk/Source/WebCore/html/URLSearchParams.h
r260724 r260818 25 25 #pragma once 26 26 27 #include "ExceptionOr.h" 27 28 #include <wtf/Variant.h> 28 29 #include <wtf/Vector.h> -
trunk/Source/WebKit/ChangeLog
r260817 r260818 1 2020-04-28 Adrian Perez de Castro <aperez@igalia.com> 2 3 Non-unified build fixes late April 2020 edition 4 https://bugs.webkit.org/show_bug.cgi?id=211099 5 6 Unreviewed build fix. 7 8 * NetworkProcess/NetworkLoad.cpp: Add mising WebCoreArgumentCoders.h header. 9 * WebProcess/Automation/WebAutomationDOMWindowObserver.cpp: 10 (WebKit::WebAutomationDOMWindowObserver::WebAutomationDOMWindowObserver): Add namespace to 11 WebCore::DOMWindow usage. 12 1 13 2020-04-26 Carlos Garcia Campos <cgarcia@igalia.com> 2 14 -
trunk/Source/WebKit/NetworkProcess/NetworkLoad.cpp
r260658 r260818 33 33 #include "NetworkProcessProxyMessages.h" 34 34 #include "NetworkSession.h" 35 #include "WebCoreArgumentCoders.h" 35 36 #include "WebErrors.h" 36 37 #include <WebCore/ResourceRequest.h> -
trunk/Source/WebKit/WebProcess/Automation/WebAutomationDOMWindowObserver.cpp
r260653 r260818 32 32 namespace WebKit { 33 33 34 WebAutomationDOMWindowObserver::WebAutomationDOMWindowObserver( DOMWindow& window, WTF::Function<void(WebAutomationDOMWindowObserver&)>&& callback)34 WebAutomationDOMWindowObserver::WebAutomationDOMWindowObserver(WebCore::DOMWindow& window, WTF::Function<void(WebAutomationDOMWindowObserver&)>&& callback) 35 35 : m_window(makeWeakPtr(window)) 36 36 , m_callback(WTFMove(callback))
Note: See TracChangeset
for help on using the changeset viewer.