Changeset 262621 in webkit
- Timestamp:
- Jun 5, 2020 8:47:41 AM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r262620 r262621 1 2020-06-05 Adrian Perez de Castro <aperez@igalia.com> 2 3 Non-unified build fixes, early summer 2020 edition 4 https://bugs.webkit.org/show_bug.cgi?id=212819 5 6 Unreviewed build fix. 7 8 No new tests needed. 9 10 * animation/ElementAnimationRareData.cpp: Add missing RenderStyle.h header. 11 * animation/ElementAnimationRareData.h: Add forward declaration for RenderStyle. 12 * editing/TextManipulationController.cpp: Sprinkle missing HTMLNames:: prefixes. 13 (WebCore::shouldExtractValueForTextManipulation): 14 (WebCore::TextManipulationController::observeParagraphs): 15 (WebCore::makePositionTuple): 16 (WebCore::TextManipulationController::replace): 17 * platform/graphics/SimpleColor.h: Add missing ColorComponents.h and wtf/text/WTFString.h 18 headers. 19 * workers/service/context/ServiceWorkerThread.cpp: Add missing Logging.h header. 20 1 21 2020-06-05 Andy Estes <aestes@apple.com> 2 22 -
trunk/Source/WebCore/animation/ElementAnimationRareData.cpp
r259241 r262621 30 30 #include "CSSTransition.h" 31 31 #include "KeyframeEffectStack.h" 32 #include "RenderStyle.h" 32 33 33 34 namespace WebCore { -
trunk/Source/WebCore/animation/ElementAnimationRareData.h
r262154 r262621 33 33 class CSSAnimation; 34 34 class CSSTransition; 35 class RenderStyle; 35 36 class WebAnimation; 36 37 -
trunk/Source/WebCore/editing/TextManipulationController.cpp
r262601 r262621 223 223 static bool shouldExtractValueForTextManipulation(const HTMLInputElement& input) 224 224 { 225 if (input.isSearchField() || equalIgnoringASCIICase(input.attributeWithoutSynchronization( typeAttr), InputTypeNames::text()))225 if (input.isSearchField() || equalIgnoringASCIICase(input.attributeWithoutSynchronization(HTMLNames::typeAttr), InputTypeNames::text())) 226 226 return !input.lastChangeWasUserEdit(); 227 227 … … 416 416 auto& input = downcast<HTMLInputElement>(currentElement); 417 417 if (shouldExtractValueForTextManipulation(input)) 418 addItem(ManipulationItemData { { }, { }, makeWeakPtr(currentElement), valueAttr, { ManipulationToken { m_tokenIdentifier.generate(), input.value(), tokenInfo(¤tElement) } } });418 addItem(ManipulationItemData { { }, { }, makeWeakPtr(currentElement), HTMLNames::valueAttr, { ManipulationToken { m_tokenIdentifier.generate(), input.value(), tokenInfo(¤tElement) } } }); 419 419 } 420 420 … … 466 466 static const PositionTuple makePositionTuple(const Position& position) 467 467 { 468 return { position.anchorNode(), static_cast<unsigned>(position.anchorType()), position.anchorType() == Position::PositionIsOffsetInAnchor ? position.offsetInContainerNode() : 0 }; 468 return { position.anchorNode(), static_cast<unsigned>(position.anchorType()), position.anchorType() == Position::PositionIsOffsetInAnchor ? position.offsetInContainerNode() : 0 }; 469 469 } 470 470 … … 642 642 if (item.attributeName == nullQName()) 643 643 element->setTextContent(newValue.toString()); 644 else if (item.attributeName == valueAttr && is<HTMLInputElement>(*element))644 else if (item.attributeName == HTMLNames::valueAttr && is<HTMLInputElement>(*element)) 645 645 downcast<HTMLInputElement>(*element).setValue(newValue.toString()); 646 646 else -
trunk/Source/WebCore/platform/graphics/SimpleColor.h
r262352 r262621 26 26 #pragma once 27 27 28 #include "ColorComponents.h" 28 29 #include "ColorUtilities.h" 30 #include <wtf/text/WTFString.h> 29 31 30 32 namespace WebCore { -
trunk/Source/WebCore/workers/service/context/ServiceWorkerThread.cpp
r262416 r262621 36 36 #include "JSDOMPromise.h" 37 37 #include "LoaderStrategy.h" 38 #include "Logging.h" 38 39 #include "PlatformStrategies.h" 39 40 #include "SWContextManager.h" -
trunk/Source/WebKit/ChangeLog
r262620 r262621 1 2020-06-05 Adrian Perez de Castro <aperez@igalia.com> 2 3 Non-unified build fixes, early summer 2020 edition 4 https://bugs.webkit.org/show_bug.cgi?id=212819 5 6 Unreviewed build fix. 7 8 * Shared/gtk/NativeWebMouseEventGtk.cpp: 9 (WebKit::NativeWebMouseEvent::NativeWebMouseEvent): Add missing WebCore:: namespace to 10 a couple of uses of WebCore::FloatSize. 11 * WebProcess/Storage/WebServiceWorkerFetchTaskClient.cpp: Add missing Logging.h header. 12 1 13 2020-06-05 Andy Estes <aestes@apple.com> 2 14 -
trunk/Source/WebKit/Shared/gtk/NativeWebMouseEventGtk.cpp
r262187 r262621 50 50 51 51 NativeWebMouseEvent::NativeWebMouseEvent(Type type, Button button, unsigned short buttons, const WebCore::IntPoint& position, const WebCore::IntPoint& globalPosition, int clickCount, OptionSet<Modifier> modifiers, Optional<WebCore::FloatSize> delta) 52 : WebMouseEvent(type, button, buttons, position, globalPosition, delta.valueOr( FloatSize()).width(), delta.valueOr(FloatSize()).height(), 0, clickCount, modifiers, WallTime::now())52 : WebMouseEvent(type, button, buttons, position, globalPosition, delta.valueOr(WebCore::FloatSize()).width(), delta.valueOr(WebCore::FloatSize()).height(), 0, clickCount, modifiers, WallTime::now()) 53 53 { 54 54 } -
trunk/Source/WebKit/WebProcess/Storage/WebServiceWorkerFetchTaskClient.cpp
r262490 r262621 31 31 #include "DataReference.h" 32 32 #include "FormDataReference.h" 33 #include "Logging.h" 33 34 #include "ServiceWorkerFetchTaskMessages.h" 34 35 #include "SharedBufferDataReference.h"
Note: See TracChangeset
for help on using the changeset viewer.