Changeset 239148 in webkit


Ignore:
Timestamp:
Dec 12, 2018 7:21:51 PM (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 5: Files in WebProcess folder.

  • WebProcess/Cache/WebCacheStorageConnection.cpp:
  • WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm:

(mediaTimeToCurrentTime):
(-[WKAnimationDelegate initWithLayerID:layerTreeHost:]):

  • WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.mm:

(-[WKAccessibilityWebPageObject accessibilityHitTest:]):

Location:
trunk/Source/WebKit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r239144 r239148  
     12018-12-12  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 5: Files in WebProcess folder.
     10
     11        * WebProcess/Cache/WebCacheStorageConnection.cpp:
     12        * WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm:
     13        (mediaTimeToCurrentTime):
     14        (-[WKAnimationDelegate initWithLayerID:layerTreeHost:]):
     15        * WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.mm:
     16        (-[WKAccessibilityWebPageObject accessibilityHitTest:]):
     17
    1182018-12-12  Ross Kirsling  <ross.kirsling@sony.com>
    219
  • trunk/Source/WebKit/WebProcess/Cache/WebCacheStorageConnection.cpp

    r239072 r239148  
    3636#include <wtf/MainThread.h>
    3737
     38namespace WebKit {
    3839using namespace WebCore::DOMCacheEngine;
    39 using namespace WebKit::CacheStorage;
    40 
    41 namespace WebKit {
     40using namespace CacheStorage;
    4241
    4342WebCacheStorageConnection::WebCacheStorageConnection(WebCacheStorageProvider& provider, PAL::SessionID sessionID)
  • trunk/Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm

    r239072 r239148  
    4141#import <wtf/text/TextStream.h>
    4242
    43 using namespace WTF;
    44 using namespace WebCore;
    45 
    4643static MonotonicTime mediaTimeToCurrentTime(CFTimeInterval t)
    4744{
    48     return MonotonicTime::now() + Seconds(t - CACurrentMediaTime());
     45    return WTF::MonotonicTime::now() + Seconds(t - CACurrentMediaTime());
    4946}
    5047
     
    5653@implementation WKAnimationDelegate
    5754
    58 - (instancetype)initWithLayerID:(GraphicsLayer::PlatformLayerID)layerID layerTreeHost:(WebKit::RemoteLayerTreeHost*)layerTreeHost
     55- (instancetype)initWithLayerID:(WebCore::GraphicsLayer::PlatformLayerID)layerID layerTreeHost:(WebKit::RemoteLayerTreeHost*)layerTreeHost
    5956{
    6057    if ((self = [super init])) {
     
    9996
    10097namespace WebKit {
     98using namespace WebCore;
    10199
    102100void PlatformCAAnimationRemote::KeyframeValue::encode(IPC::Encoder& encoder) const
  • trunk/Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.mm

    r239072 r239148  
    4949#import <wtf/ObjCRuntimeExtras.h>
    5050
    51 using namespace WebCore;
    52 using namespace WebKit;
    5351
    5452@implementation WKAccessibilityWebPageObject
     
    219217    // Some plugins may be able to figure out the scroll position and inset on their own.
    220218    bool applyContentOffset = true;
    221     if (auto pluginView = WebPage::pluginViewForFrame(m_page->mainFrame()))
     219    if (auto pluginView = WebKit::WebPage::pluginViewForFrame(m_page->mainFrame()))
    222220        applyContentOffset = !pluginView->plugin()->pluginHandlesContentOffsetForAccessibilityHitTest();
    223221
Note: See TracChangeset for help on using the changeset viewer.