⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 125734 in webkit


Ignore:
Timestamp:
Aug 15, 2012, 6:41:37 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

Improve Document.h compile time - reduce includes of ScriptCallStack.h
https://bugs.webkit.org/show_bug.cgi?id=94161

Patch by Nikhil Bhargava <nbhargava@google.com> on 2012-08-15
Reviewed by Eric Seidel.

ScriptCallStack.h no longer included from ScriptExecutionContext. It's
relatively expensive to compile and gets compiled a ton because
Document.h indirectly includes it.

No new tests. Functionality should remain the same

  • Modules/indexeddb/IDBDatabase.cpp:
  • Modules/indexeddb/IDBIndex.cpp:
  • Modules/indexeddb/IDBObjectStore.cpp:
  • bindings/js/ScriptController.cpp:
  • dom/ScriptElement.cpp:
  • dom/ScriptExecutionContext.h:

(WebCore):

  • fileapi/Blob.cpp:
  • fileapi/WebKitBlobBuilder.cpp:
  • html/HTMLTrackElement.cpp:
  • loader/TextTrackLoader.cpp:
  • page/DOMSecurityPolicy.cpp:
Location:
trunk/Source/WebCore
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r125730 r125734  
     12012-08-15  Nikhil Bhargava  <nbhargava@google.com>
     2
     3        Improve Document.h compile time - reduce includes of ScriptCallStack.h
     4        https://bugs.webkit.org/show_bug.cgi?id=94161
     5
     6        Reviewed by Eric Seidel.
     7
     8        ScriptCallStack.h no longer included from ScriptExecutionContext. It's
     9        relatively expensive to compile and gets compiled a ton because
     10        Document.h indirectly includes it.
     11
     12        No new tests. Functionality should remain the same
     13
     14        * Modules/indexeddb/IDBDatabase.cpp:
     15        * Modules/indexeddb/IDBIndex.cpp:
     16        * Modules/indexeddb/IDBObjectStore.cpp:
     17        * bindings/js/ScriptController.cpp:
     18        * dom/ScriptElement.cpp:
     19        * dom/ScriptExecutionContext.h:
     20        (WebCore):
     21        * fileapi/Blob.cpp:
     22        * fileapi/WebKitBlobBuilder.cpp:
     23        * html/HTMLTrackElement.cpp:
     24        * loader/TextTrackLoader.cpp:
     25        * page/DOMSecurityPolicy.cpp:
     26
    1272012-08-15  Alec Flett  <alecflett@chromium.org>
    228
  • trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp

    r125713 r125734  
    4444#include "IDBVersionChangeEvent.h"
    4545#include "IDBVersionChangeRequest.h"
     46#include "ScriptCallStack.h"
    4647#include "ScriptExecutionContext.h"
    4748#include <limits>
  • trunk/Source/WebCore/Modules/indexeddb/IDBIndex.cpp

    r123048 r125734  
    3838#include "IDBTracing.h"
    3939#include "IDBTransaction.h"
     40#include "ScriptCallStack.h"
    4041
    4142namespace WebCore {
  • trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp

    r125728 r125734  
    4242#include "IDBTracing.h"
    4343#include "IDBTransaction.h"
     44#include "ScriptCallStack.h"
    4445#include "SerializedScriptValue.h"
    4546#include <wtf/UnusedParam.h>
  • trunk/Source/WebCore/bindings/js/ScriptController.cpp

    r125615 r125734  
    3737#include "PageGroup.h"
    3838#include "PluginView.h"
     39#include "ScriptCallStack.h"
    3940#include "ScriptSourceCode.h"
    4041#include "ScriptValue.h"
  • trunk/Source/WebCore/dom/ScriptElement.cpp

    r121883 r125734  
    3939#include "MIMETypeRegistry.h"
    4040#include "Page.h"
     41#include "ScriptCallStack.h"
    4142#include "ScriptRunner.h"
    4243#include "ScriptSourceCode.h"
  • trunk/Source/WebCore/dom/ScriptExecutionContext.h

    r110231 r125734  
    3232#include "ConsoleTypes.h"
    3333#include "KURL.h"
    34 #include "ScriptCallStack.h"
    3534#include "SecurityContext.h"
    3635#include "Supplementable.h"
     
    5554class EventTarget;
    5655class MessagePort;
     56class ScriptCallStack;
    5757
    5858#if ENABLE(BLOB)
  • trunk/Source/WebCore/fileapi/Blob.cpp

    r125391 r125734  
    3535#include "File.h"
    3636#include "HistogramSupport.h"
     37#include "ScriptCallStack.h"
    3738#include "ScriptExecutionContext.h"
    3839#include "ThreadableBlobRegistry.h"
  • trunk/Source/WebCore/fileapi/WebKitBlobBuilder.cpp

    r125391 r125734  
    3838#include "HistogramSupport.h"
    3939#include "LineEnding.h"
     40#include "ScriptCallStack.h"
    4041#include "ScriptExecutionContext.h"
    4142#include "TextEncoding.h"
  • trunk/Source/WebCore/html/HTMLTrackElement.cpp

    r118192 r125734  
    3535#include "Logging.h"
    3636#include "RuntimeEnabledFeatures.h"
     37#include "ScriptCallStack.h"
    3738#include "ScriptEventListener.h"
    3839
  • trunk/Source/WebCore/loader/TextTrackLoader.cpp

    r116719 r125734  
    3636#include "Logging.h"
    3737#include "ResourceHandle.h"
     38#include "ScriptCallStack.h"
    3839#include "SecurityOrigin.h"
    3940#include "SharedBuffer.h"
  • trunk/Source/WebCore/page/DOMSecurityPolicy.cpp

    r123722 r125734  
    3131#include "DOMStringList.h"
    3232#include "Frame.h"
     33#include "ScriptCallStack.h"
    3334#include "ScriptExecutionContext.h"
    3435#include <wtf/text/TextPosition.h>
Note: See TracChangeset for help on using the changeset viewer.