Skip to content

Commit 26c36ca

Browse files
committed
Non-unified build fixes mid April 2020 edition
https://bugs.webkit.org/show_bug.cgi?id=210599 Unreviewed build fix. Source/WebCore: No new tests needed. * bindings/js/JSNavigatorCustom.cpp: Add missing JavaScriptCore/JSCJSValue.h header. (WebCore::JSNavigator::getUserMedia): Prefix with the JSC:: namespace where needed. * dom/ShadowRoot.cpp: Add missing WebAnimation.h header. * dom/SimpleRange.cpp: Add missing NodeTraversal.h header. * editing/RemoveNodePreservingChildrenCommand.cpp: Add missing Editing.h header. * page/MemoryRelease.cpp: Add missing JavaScriptCore/VM.h header. * page/PageConfiguration.cpp: Add missing UserContentURLPattern.h header. * page/scrolling/ScrollingTree.h: Add missing EventTrackingRegions.h header. * page/scrolling/ScrollingTreeLatchingController.cpp: Add missing Logging.h header. * page/scrolling/ScrollingTreeLatchingController.h: Add missing ScrollTypes.h header, and forward declaration for WebCore::PlatformWheelEvent. * workers/service/server/SWServerJobQueue.cpp: Add missing Logging.h header. Source/WebKit: * UIProcess/DeviceIdHashSaltStorage.cpp: Add missing Logging.h header. * UIProcess/Inspector/gtk/WebInspectorProxyGtk.cpp: (WebKit::WebInspectorProxy::platformSetForcedAppearance): Add missing WebCore:: namespace prefix. * UIProcess/linux/MemoryPressureMonitor.h: Add missing wtf/text/CString.h header. Canonical link: https://commits.webkit.org/223478@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260195 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 900636f commit 26c36ca

15 files changed

Lines changed: 51 additions & 3 deletions

Source/WebCore/ChangeLog

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
2020-04-16 Adrian Perez de Castro <[email protected]>
2+
3+
Non-unified build fixes mid April 2020 edition
4+
https://bugs.webkit.org/show_bug.cgi?id=210599
5+
6+
Unreviewed build fix.
7+
8+
No new tests needed.
9+
10+
* bindings/js/JSNavigatorCustom.cpp: Add missing JavaScriptCore/JSCJSValue.h header.
11+
(WebCore::JSNavigator::getUserMedia): Prefix with the JSC:: namespace where needed.
12+
* dom/ShadowRoot.cpp: Add missing WebAnimation.h header.
13+
* dom/SimpleRange.cpp: Add missing NodeTraversal.h header.
14+
* editing/RemoveNodePreservingChildrenCommand.cpp: Add missing Editing.h header.
15+
* page/MemoryRelease.cpp: Add missing JavaScriptCore/VM.h header.
16+
* page/PageConfiguration.cpp: Add missing UserContentURLPattern.h header.
17+
* page/scrolling/ScrollingTree.h: Add missing EventTrackingRegions.h header.
18+
* page/scrolling/ScrollingTreeLatchingController.cpp: Add missing Logging.h header.
19+
* page/scrolling/ScrollingTreeLatchingController.h: Add missing ScrollTypes.h header,
20+
and forward declaration for WebCore::PlatformWheelEvent.
21+
* workers/service/server/SWServerJobQueue.cpp: Add missing Logging.h header.
22+
123
2020-04-16 Simon Fraser <[email protected]>
224

325
[Async overflow scrolling] Slow-repaint overflow scroll have force their enclosing scrollers to be slow too

Source/WebCore/bindings/js/JSNavigatorCustom.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
#include "WebCoreJSClientData.h"
3030
#include <JavaScriptCore/CatchScope.h>
31+
#include <JavaScriptCore/JSCJSValue.h>
3132

3233
namespace WebCore {
3334

@@ -37,7 +38,7 @@ void JSNavigator::visitAdditionalChildren(JSC::SlotVisitor& visitor)
3738
}
3839

3940
#if ENABLE(MEDIA_STREAM)
40-
JSValue JSNavigator::getUserMedia(JSGlobalObject& lexicalGlobalObject, CallFrame& callFrame)
41+
JSC::JSValue JSNavigator::getUserMedia(JSC::JSGlobalObject& lexicalGlobalObject, JSC::CallFrame& callFrame)
4142
{
4243
auto* function = globalObject()->builtinInternalFunctions().jsDOMBindingInternals().m_getUserMediaShimFunction.get();
4344
ASSERT(function);
@@ -50,7 +51,7 @@ JSValue JSNavigator::getUserMedia(JSGlobalObject& lexicalGlobalObject, CallFrame
5051
arguments.append(callFrame.uncheckedArgument(cptr));
5152
ASSERT(!arguments.hasOverflowed());
5253
JSC::call(&lexicalGlobalObject, function, callType, callData, this, arguments);
53-
return jsUndefined();
54+
return JSC::jsUndefined();
5455
}
5556
#endif
5657

Source/WebCore/dom/ShadowRoot.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#include "StyleResolver.h"
4242
#include "StyleScope.h"
4343
#include "StyleSheetList.h"
44+
#include "WebAnimation.h"
4445
#include "markup.h"
4546
#include <wtf/IsoMallocInlines.h>
4647

Source/WebCore/dom/SimpleRange.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "SimpleRange.h"
2828

2929
#include "CharacterData.h"
30+
#include "NodeTraversal.h"
3031
#include "Range.h"
3132

3233
namespace WebCore {

Source/WebCore/editing/RemoveNodePreservingChildrenCommand.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include "config.h"
2727
#include "RemoveNodePreservingChildrenCommand.h"
2828

29+
#include "Editing.h"
2930
#include "Node.h"
3031
#include <wtf/Assertions.h>
3132

Source/WebCore/page/MemoryRelease.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
#include "StyledElement.h"
5252
#include "TextPainter.h"
5353
#include "WorkerThread.h"
54+
#include <JavaScriptCore/VM.h>
5455
#include <wtf/FastMalloc.h>
5556
#include <wtf/ResourceUsage.h>
5657
#include <wtf/SystemTracing.h>

Source/WebCore/page/PageConfiguration.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
#include "SpeechSynthesisClient.h"
4747
#include "StorageNamespaceProvider.h"
4848
#include "UserContentController.h"
49+
#include "UserContentURLPattern.h"
4950
#include "ValidationMessageClient.h"
5051
#include "VisitedLinkStore.h"
5152
#if ENABLE(WEBGL)

Source/WebCore/page/scrolling/ScrollingTree.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
#if ENABLE(ASYNC_SCROLLING)
2929

30+
#include "EventTrackingRegions.h"
3031
#include "PageIdentifier.h"
3132
#include "PlatformWheelEvent.h"
3233
#include "RectEdges.h"

Source/WebCore/page/scrolling/ScrollingTreeLatchingController.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#if ENABLE(ASYNC_SCROLLING)
3030

3131
#include "FloatPoint.h"
32+
#include "Logging.h"
3233
#include "PlatformWheelEvent.h"
3334
#include "ScrollingThread.h"
3435
#include "ScrollingTree.h"

Source/WebCore/page/scrolling/ScrollingTreeLatchingController.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@
2727

2828
#if ENABLE(ASYNC_SCROLLING)
2929

30+
#include "ScrollTypes.h"
3031
#include <wtf/Lock.h>
3132
#include <wtf/Markable.h>
3233
#include <wtf/MonotonicTime.h>
3334
#include <wtf/Optional.h>
3435

3536
namespace WebCore {
3637

38+
class PlatformWheelEvent;
3739
class ScrollingTree;
3840

3941
class ScrollingTreeLatchingController {

0 commit comments

Comments
 (0)