Changeset 147719 in webkit


Ignore:
Timestamp:
Apr 5, 2013 12:48:24 AM (11 years ago)
Author:
rniwa@webkit.org
Message:

Remove Chromium code from Source/WebCore/dom
https://bugs.webkit.org/show_bug.cgi?id=114007

Reviewed by Benjamin Poulain.

Removed.

  • dom/Document.cpp:

(WebCore::Document::recalcStyle):
(WebCore::Document::implicitClose):
(WebCore::Document::setFocusedNode):

  • dom/MessagePortChannel.h:

(MessagePortChannel):

  • dom/ShadowRoot.cpp:

(WebCore::ShadowRoot::ShadowRoot):

  • dom/default/chromium: Removed.
  • dom/default/chromium/PlatformMessagePortChannelChromium.cpp: Removed.
  • dom/default/chromium/PlatformMessagePortChannelChromium.h: Removed.
Location:
trunk/Source/WebCore
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r147718 r147719  
     12013-04-05  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Remove Chromium code from Source/WebCore/dom
     4        https://bugs.webkit.org/show_bug.cgi?id=114007
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        Removed.
     9
     10        * dom/Document.cpp:
     11        (WebCore::Document::recalcStyle):
     12        (WebCore::Document::implicitClose):
     13        (WebCore::Document::setFocusedNode):
     14        * dom/MessagePortChannel.h:
     15        (MessagePortChannel):
     16        * dom/ShadowRoot.cpp:
     17        (WebCore::ShadowRoot::ShadowRoot):
     18        * dom/default/chromium: Removed.
     19        * dom/default/chromium/PlatformMessagePortChannelChromium.cpp: Removed.
     20        * dom/default/chromium/PlatformMessagePortChannelChromium.h: Removed.
     21
    1222013-04-05  Benjamin Poulain  <benjamin@webkit.org>
    223
  • trunk/Source/WebCore/dom/Document.cpp

    r147530 r147719  
    246246#endif
    247247
    248 #if PLATFORM(CHROMIUM)
    249 #include "TraceEvent.h"
    250 #endif
    251 
    252248#if ENABLE(VIDEO_TRACK)
    253249#include "CaptionUserPreferences.h"
     
    18241820        return; // Guard against re-entrancy. -dwh
    18251821
    1826 #if PLATFORM(CHROMIUM)
    1827     TRACE_EVENT0("webkit", "Document::recalcStyle");
    1828 #endif
    1829 
    18301822    // FIXME: We should update style on our ancestor chain before proceeding (especially for seamless),
    18311823    // however doing so currently causes several tests to crash, as Frame::setDocument calls Document::attach
     
    25292521    m_processingLoadEvent = false;
    25302522
    2531 #if PLATFORM(MAC) || PLATFORM(CHROMIUM)
     2523#if PLATFORM(MAC)
    25322524    if (f && renderObject && AXObjectCache::accessibilityEnabled()) {
    25332525        // The AX cache may have been cleared at this point, but we need to make sure it contains an
     
    34983490    }
    34993491
    3500     if (!focusChangeBlocked && m_focusedNode) {
    3501         // Create the AXObject cache in a focus change because Chromium relies on it.
    3502         if (AXObjectCache* cache = axObjectCache())
    3503             cache->handleFocusedUIElementChanged(oldFocusedNode.get(), newFocusedNode.get());
    3504     }
    3505 
    35063492    if (!focusChangeBlocked)
    35073493        page()->chrome()->focusedNodeChanged(m_focusedNode.get());
  • trunk/Source/WebCore/dom/MessagePortChannel.h

    r146151 r147719  
    8686        ~MessagePortChannel();
    8787
    88 #if PLATFORM(CHROMIUM)
    89         // Creates a new wrapper for the passed channel.
    90         static PassOwnPtr<MessagePortChannel> create(PassRefPtr<PlatformMessagePortChannel>);
    91 
    92         // FIXME: PlatformMessagePortChannel is an implementation detail, and should not be exposed via a public function.
    93         PlatformMessagePortChannel* channel() const { return m_channel.get(); }
    94 #endif
    95 
    9688    private:
    9789        explicit MessagePortChannel(PassRefPtr<PlatformMessagePortChannel>);
  • trunk/Source/WebCore/dom/ShadowRoot.cpp

    r146853 r147719  
    6464{
    6565    ASSERT(document);
    66 
    67 #if PLATFORM(CHROMIUM)
    68     if (type == ShadowRoot::AuthorShadowRoot) {
    69         ShadowRootUsageOriginType usageType = document->url().protocolIsInHTTPFamily() ? ShadowRootUsageOriginWeb : ShadowRootUsageOriginNotWeb;
    70         HistogramSupport::histogramEnumeration("WebCore.ShadowRoot.constructor", usageType, ShadowRootUsageOriginMax);
    71     }
    72 #endif
    7366}
    7467
Note: See TracChangeset for help on using the changeset viewer.