Changeset 262621 in webkit


Ignore:
Timestamp:
Jun 5, 2020 8:47:41 AM (4 years ago)
Author:
Adrian Perez de Castro
Message:

Non-unified build fixes, early summer 2020 edition
https://bugs.webkit.org/show_bug.cgi?id=212819

Unreviewed build fix.

Source/WebCore:

No new tests needed.

  • animation/ElementAnimationRareData.cpp: Add missing RenderStyle.h header.
  • animation/ElementAnimationRareData.h: Add forward declaration for RenderStyle.
  • editing/TextManipulationController.cpp: Sprinkle missing HTMLNames:: prefixes.

(WebCore::shouldExtractValueForTextManipulation):
(WebCore::TextManipulationController::observeParagraphs):
(WebCore::makePositionTuple):
(WebCore::TextManipulationController::replace):

  • platform/graphics/SimpleColor.h: Add missing ColorComponents.h and wtf/text/WTFString.h

headers.

  • workers/service/context/ServiceWorkerThread.cpp: Add missing Logging.h header.

Source/WebKit:

  • Shared/gtk/NativeWebMouseEventGtk.cpp:

(WebKit::NativeWebMouseEvent::NativeWebMouseEvent): Add missing WebCore:: namespace to
a couple of uses of WebCore::FloatSize.

  • WebProcess/Storage/WebServiceWorkerFetchTaskClient.cpp: Add missing Logging.h header.
Location:
trunk/Source
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r262620 r262621  
     12020-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
    1212020-06-05  Andy Estes  <aestes@apple.com>
    222
  • trunk/Source/WebCore/animation/ElementAnimationRareData.cpp

    r259241 r262621  
    3030#include "CSSTransition.h"
    3131#include "KeyframeEffectStack.h"
     32#include "RenderStyle.h"
    3233
    3334namespace WebCore {
  • trunk/Source/WebCore/animation/ElementAnimationRareData.h

    r262154 r262621  
    3333class CSSAnimation;
    3434class CSSTransition;
     35class RenderStyle;
    3536class WebAnimation;
    3637
  • trunk/Source/WebCore/editing/TextManipulationController.cpp

    r262601 r262621  
    223223static bool shouldExtractValueForTextManipulation(const HTMLInputElement& input)
    224224{
    225     if (input.isSearchField() || equalIgnoringASCIICase(input.attributeWithoutSynchronization(typeAttr), InputTypeNames::text()))
     225    if (input.isSearchField() || equalIgnoringASCIICase(input.attributeWithoutSynchronization(HTMLNames::typeAttr), InputTypeNames::text()))
    226226        return !input.lastChangeWasUserEdit();
    227227
     
    416416                auto& input = downcast<HTMLInputElement>(currentElement);
    417417                if (shouldExtractValueForTextManipulation(input))
    418                     addItem(ManipulationItemData { { }, { }, makeWeakPtr(currentElement), valueAttr, { ManipulationToken { m_tokenIdentifier.generate(), input.value(), tokenInfo(&currentElement) } } });
     418                    addItem(ManipulationItemData { { }, { }, makeWeakPtr(currentElement), HTMLNames::valueAttr, { ManipulationToken { m_tokenIdentifier.generate(), input.value(), tokenInfo(&currentElement) } } });
    419419            }
    420420
     
    466466static const PositionTuple makePositionTuple(const Position& position)
    467467{
    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 };
    469469}
    470470
     
    642642        if (item.attributeName == nullQName())
    643643            element->setTextContent(newValue.toString());
    644         else if (item.attributeName == valueAttr && is<HTMLInputElement>(*element))
     644        else if (item.attributeName == HTMLNames::valueAttr && is<HTMLInputElement>(*element))
    645645            downcast<HTMLInputElement>(*element).setValue(newValue.toString());
    646646        else
  • trunk/Source/WebCore/platform/graphics/SimpleColor.h

    r262352 r262621  
    2626#pragma once
    2727
     28#include "ColorComponents.h"
    2829#include "ColorUtilities.h"
     30#include <wtf/text/WTFString.h>
    2931
    3032namespace WebCore {
  • trunk/Source/WebCore/workers/service/context/ServiceWorkerThread.cpp

    r262416 r262621  
    3636#include "JSDOMPromise.h"
    3737#include "LoaderStrategy.h"
     38#include "Logging.h"
    3839#include "PlatformStrategies.h"
    3940#include "SWContextManager.h"
  • trunk/Source/WebKit/ChangeLog

    r262620 r262621  
     12020-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
    1132020-06-05  Andy Estes  <aestes@apple.com>
    214
  • trunk/Source/WebKit/Shared/gtk/NativeWebMouseEventGtk.cpp

    r262187 r262621  
    5050
    5151NativeWebMouseEvent::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())
    5353{
    5454}
  • trunk/Source/WebKit/WebProcess/Storage/WebServiceWorkerFetchTaskClient.cpp

    r262490 r262621  
    3131#include "DataReference.h"
    3232#include "FormDataReference.h"
     33#include "Logging.h"
    3334#include "ServiceWorkerFetchTaskMessages.h"
    3435#include "SharedBufferDataReference.h"
Note: See TracChangeset for help on using the changeset viewer.