Changeset 239166 in webkit


Ignore:
Timestamp:
Dec 13, 2018 8:09:36 AM (5 years ago)
Author:
Chris Fleizach
Message:

[meta][WebKit] Remove using namespace WebCore and WebKit in the global scope for unified source builds
https://bugs.webkit.org/show_bug.cgi?id=192449
<rdar://problem/46595508>

Reviewed by Darin Adler.

Part 6: Files in plugin process and UI process.

  • PluginProcess/PluginControllerProxy.cpp:
  • PluginProcess/PluginProcess.cpp:
  • PluginProcess/WebProcessConnection.cpp:
  • UIProcess/RemoteLayerTree/ios/RemoteLayerTreeHostIOS.mm:
  • UIProcess/WebStorage/LocalStorageDatabase.cpp:
  • UIProcess/mac/WebPageProxyMac.mm:
Location:
trunk/Source/WebKit
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r239163 r239166  
     12018-12-13  Chris Fleizach  <cfleizach@apple.com>
     2
     3        [meta][WebKit] Remove using namespace WebCore and WebKit in the global scope for unified source builds
     4        https://bugs.webkit.org/show_bug.cgi?id=192449
     5        <rdar://problem/46595508>
     6
     7        Reviewed by Darin Adler.
     8
     9        Part 6: Files in plugin process and UI process.
     10
     11        * PluginProcess/PluginControllerProxy.cpp:
     12        * PluginProcess/PluginProcess.cpp:
     13        * PluginProcess/WebProcessConnection.cpp:
     14        * UIProcess/RemoteLayerTree/ios/RemoteLayerTreeHostIOS.mm:
     15        * UIProcess/WebStorage/LocalStorageDatabase.cpp:
     16        * UIProcess/mac/WebPageProxyMac.mm:
     17
    1182018-12-13  Eric Carlson  <eric.carlson@apple.com>
    219
  • trunk/Source/WebKit/PluginProcess/PluginControllerProxy.cpp

    r239072 r239166  
    5252#endif
    5353
     54namespace WebKit {
    5455using namespace WebCore;
    55 
    56 namespace WebKit {
    5756
    5857PluginControllerProxy::PluginControllerProxy(WebProcessConnection* connection, const PluginCreationParameters& creationParameters)
  • trunk/Source/WebKit/PluginProcess/PluginProcess.cpp

    r239072 r239166  
    5050#endif
    5151
     52namespace WebKit {
     53
    5254using namespace WebCore;
    53 
    54 namespace WebKit {
    5555
    5656NO_RETURN static void callExit(IPC::Connection*)
  • trunk/Source/WebKit/PluginProcess/WebProcessConnection.cpp

    r239072 r239166  
    4545#endif
    4646
     47namespace WebKit {
    4748using namespace WebCore;
    48 
    49 namespace WebKit {
    5049
    5150static IPC::Connection* currentConnection;
  • trunk/Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeHostIOS.mm

    r239072 r239166  
    3939#import <wtf/SoftLinking.h>
    4040
     41namespace WebKit {
    4142using namespace WebCore;
    42 
    43 namespace WebKit {
    4443
    4544static RetainPtr<UIView> createRemoteView(pid_t pid, uint32_t contextID)
  • trunk/Source/WebKit/UIProcess/WebStorage/LocalStorageDatabase.cpp

    r239072 r239166  
    3939#include <wtf/text/WTFString.h>
    4040
     41static const auto databaseUpdateInterval = 1_s;
     42
     43static const int maximumItemsToUpdate = 100;
     44
     45namespace WebKit {
    4146using namespace WebCore;
    42 
    43 static const auto databaseUpdateInterval = 1_s;
    44 
    45 static const int maximumItemsToUpdate = 100;
    46 
    47 namespace WebKit {
    4847
    4948Ref<LocalStorageDatabase> LocalStorageDatabase::create(Ref<WorkQueue>&& queue, Ref<LocalStorageDatabaseTracker>&& tracker, const SecurityOriginData& securityOrigin)
  • trunk/Source/WebKit/UIProcess/mac/WebPageProxyMac.mm

    r239104 r239166  
    6868#define MESSAGE_CHECK_URL(url) MESSAGE_CHECK_BASE(checkURLReceivedFromCurrentOrPreviousWebProcess(url), m_process->connection())
    6969
    70 using namespace WebCore;
    71 
    7270@interface NSApplication ()
    7371- (BOOL)isSpeaking;
     
    108106
    109107namespace WebKit {
    110 
     108using namespace WebCore;
     109   
    111110static inline bool expectsLegacyImplicitRubberBandControl()
    112111{
Note: See TracChangeset for help on using the changeset viewer.