Commit 7911af29 authored by ggaren@apple.com's avatar ggaren@apple.com

JavaScriptCore:

        Reviewed by Sam Weinig.

        Moved Shared.h into wtf so it could be used in more places. Deployed
        Shared in places where JSCore previously had hand-rolled ref-counting
        classes.

        * API/JSClassRef.cpp:
        (OpaqueJSClass::OpaqueJSClass):
        * API/JSClassRef.h:
        * API/JSObjectRef.cpp:
        (JSClassRetain):
        (JSClassRelease):
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * kjs/interpreter.cpp:
        (KJS::Interpreter::init):
        * kjs/interpreter.h:
        * kjs/regexp.cpp:
        (KJS::RegExp::RegExp):
        * kjs/regexp.h:
        * wtf/Shared.h: Copied from WebCore/platform/Shared.h.

JavaScriptGlue:

        Reviewed by Sam Weinig.

        Moved Shared.h into wtf so it could be used in more places.

        * ForwardingHeaders/wtf/Shared.h: Added.

WebCore:

        Reviewed by Sam Weinig.

        Moved Shared.h into wtf so it could be used in more places. Retained 
        TreeShared, but moved it to its own file, TreeShared.h.

        * ForwardingHeaders/wtf/Shared.h: Added.
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSSVGPODTypeWrapper.h:
        * css/CSSFontFace.h:
        * css/CSSRuleList.h:
        * css/Counter.h:
        * css/Pair.h:
        * css/Rect.h:
        * css/StyleBase.h:
        * css/StyleSheetList.h:
        * dom/Clipboard.h:
        * dom/DOMImplementation.h:
        * dom/Event.h:
        * dom/EventListener.h:
        * dom/NamedNodeMap.h:
        * dom/NodeFilterCondition.h:
        * dom/NodeList.h:
        * dom/Range.h:
        * dom/RangeException.h:
        * dom/RegisteredEventListener.h:
        * dom/Traversal.h:
        * history/BackForwardList.h:
        * history/CachedPage.h:
        * history/HistoryItem.h:
        * html/CanvasGradient.h:
        * html/CanvasPattern.h:
        * html/HTMLCollection.h:
        * html/MediaError.h:
        * html/TimeRanges.h:
        * html/VoidCallback.h:
        * ksvg2/css/SVGRenderStyleDefs.h:
        * ksvg2/svg/SVGAnimatedTemplate.h:
        * ksvg2/svg/SVGElementInstanceList.h:
        * ksvg2/svg/SVGList.h:
        * ksvg2/svg/SVGPathSeg.h:
        * ksvg2/svg/SVGPreserveAspectRatio.h:
        * ksvg2/svg/SVGRenderingIntent.h:
        * ksvg2/svg/SVGTransform.h:
        * ksvg2/svg/SVGUnitTypes.h:
        * loader/DocumentLoader.h:
        * loader/FormState.h:
        * loader/ResourceLoader.h:
        * loader/TextResourceDecoder.h:
        * loader/icon/IconRecord.h:
        * page/BarInfo.h:
        * page/Console.h:
        * page/DOMSelection.h:
        * page/DOMWindow.h:
        * page/History.h:
        * page/InspectorController.cpp:
        * page/Plugin.h:
        * page/Screen.h:
        * platform/ArrayImpl.h:
        * platform/CString.h:
        * platform/DeprecatedValueListImpl.cpp:
        * platform/FontFallbackList.h:
        * platform/FontFamily.h:
        * platform/FontSelector.h:
        * platform/GlyphPageTreeNode.h:
        * platform/PopupMenu.h:
        * platform/RegularExpression.cpp:
        * platform/ScrollBar.h:
        * platform/Shared.h: Removed.
        * platform/SharedBuffer.h:
        * platform/StringImpl.h:
        * platform/graphics/Icon.h:
        * platform/graphics/svg/SVGResource.h:
        * platform/network/FormData.h:
        * platform/network/ResourceHandleClient.h:
        * rendering/RenderStyle.h:
        * rendering/SVGCharacterLayoutInfo.h:
        * storage/SQLResultSetRowList.h:
        * xml/DOMParser.h:
        * xml/XMLSerializer.h:
        * xml/XPathEvaluator.h:
        * xml/XPathExpression.h:
        * xml/XPathNSResolver.h:
        * xml/XPathResult.h:

WebKit/mac:

        Reviewed by Sam Weinig.

        Moved Shared.h into wtf so it could be used in more places.

        * ChangeLog:
        * WebCoreSupport/WebContextMenuClient.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent effd1c72
......@@ -37,9 +37,8 @@ using namespace KJS;
const JSClassDefinition kJSClassDefinitionEmpty = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
OpaqueJSClass::OpaqueJSClass(const JSClassDefinition* definition, OpaqueJSClass* protoClass)
: refCount(0)
// FIXME: <rdar://problem/4949018>
, className(definition->className)
: className(definition->className)
, parentClass(definition->parentClass)
, prototypeClass(0)
, staticValues(0)
......
......@@ -55,7 +55,7 @@ struct StaticFunctionEntry {
JSPropertyAttributes attributes;
};
struct OpaqueJSClass {
struct OpaqueJSClass : public Shared<OpaqueJSClass> {
static OpaqueJSClass* create(const JSClassDefinition*);
static OpaqueJSClass* createNoAutomaticPrototype(const JSClassDefinition*);
~OpaqueJSClass();
......@@ -65,8 +65,6 @@ struct OpaqueJSClass {
typedef HashMap<RefPtr<KJS::UString::Rep>, StaticValueEntry*> StaticValuesTable;
typedef HashMap<RefPtr<KJS::UString::Rep>, StaticFunctionEntry*> StaticFunctionsTable;
unsigned refCount;
KJS::UString className;
OpaqueJSClass* parentClass;
OpaqueJSClass* prototypeClass;
......
......@@ -57,15 +57,14 @@ JSClassRef JSClassCreate(const JSClassDefinition* definition)
JSClassRef JSClassRetain(JSClassRef jsClass)
{
JSLock lock;
++jsClass->refCount;
jsClass->ref();
return jsClass;
}
void JSClassRelease(JSClassRef jsClass)
{
JSLock lock;
if (--jsClass->refCount == 0)
delete jsClass;
jsClass->deref();
}
JSObjectRef JSObjectMake(JSContextRef ctx, JSClassRef jsClass, void* data)
......
2007-11-13 Geoffrey Garen <ggaren@apple.com>
Reviewed by Sam Weinig.
Moved Shared.h into wtf so it could be used in more places. Deployed
Shared in places where JSCore previously had hand-rolled ref-counting
classes.
* API/JSClassRef.cpp:
(OpaqueJSClass::OpaqueJSClass):
* API/JSClassRef.h:
* API/JSObjectRef.cpp:
(JSClassRetain):
(JSClassRelease):
* JavaScriptCore.vcproj/WTF/WTF.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* kjs/interpreter.cpp:
(KJS::Interpreter::init):
* kjs/interpreter.h:
* kjs/regexp.cpp:
(KJS::RegExp::RegExp):
* kjs/regexp.h:
* wtf/Shared.h: Copied from WebCore/platform/Shared.h.
2007-11-13 Eric Seidel <eric@webkit.org>
Reviewed by Maciej.
......
......@@ -271,6 +271,10 @@
RelativePath="..\..\wtf\RetainPtr.h"
>
</File>
<File
RelativePath="..\..\wtf\Shared.h"
>
</File>
<File
RelativePath="..\..\wtf\StringExtras.h"
>
......
......@@ -101,7 +101,6 @@ void Interpreter::init()
{
JSLock lock;
m_refCount = 0;
m_timeoutTime = 0;
m_recursion = 0;
m_debugger= 0;
......
......@@ -26,8 +26,9 @@
#include "ExecState.h"
#include "protect.h"
#include "value.h"
#include "types.h"
#include "value.h"
#include <wtf/Shared.h>
namespace KJS {
......@@ -75,7 +76,7 @@ namespace KJS {
* evaluation, and also provides access to built-in properties such as
* " Object" and "Number".
*/
class Interpreter {
class Interpreter : public Shared<Interpreter> {
friend class Collector;
public:
/**
......@@ -100,6 +101,8 @@ namespace KJS {
* initialized with the standard global properties.
*/
Interpreter();
virtual ~Interpreter(); // only deref should delete us
/**
* Resets the global object's default properties and adds the default object
......@@ -327,12 +330,7 @@ namespace KJS {
bool timedOut();
void ref() { ++m_refCount; }
void deref() { if (--m_refCount <= 0) delete this; }
int refCount() const { return m_refCount; }
protected:
virtual ~Interpreter(); // only deref should delete us
virtual bool shouldInterruptScript() const { return true; }
unsigned m_timeoutTime;
......@@ -347,8 +345,6 @@ private:
Interpreter(const Interpreter&);
Interpreter operator=(const Interpreter&);
int m_refCount;
ExecState* m_currentExec;
JSGlobalObject* m_globalObject;
ExecState m_globalExec;
......
......@@ -32,8 +32,7 @@
namespace KJS {
RegExp::RegExp(const UString& pattern)
: m_refCount(0)
, m_pattern(pattern)
: m_pattern(pattern)
, m_flagBits(0)
, m_constructionError(0)
, m_numSubpatterns(0)
......@@ -43,8 +42,7 @@ RegExp::RegExp(const UString& pattern)
}
RegExp::RegExp(const UString& pattern, const UString& flags)
: m_refCount(0)
, m_pattern(pattern)
: m_pattern(pattern)
, m_flags(flags)
, m_flagBits(0)
, m_constructionError(0)
......
......@@ -29,7 +29,7 @@
namespace KJS {
class RegExp : Noncopyable {
class RegExp : public Shared<RegExp> {
private:
enum {
Global = 1,
......@@ -42,10 +42,6 @@ namespace KJS {
RegExp(const UString& pattern, const UString& flags);
~RegExp();
void ref() { ++m_refCount; }
void deref() { if (--m_refCount == 0) delete this; }
int refCount() { return m_refCount; }
bool global() const { return m_flagBits & Global; }
bool ignoreCase() const { return m_flagBits & IgnoreCase; }
bool multiline() const { return m_flagBits & Multiline; }
......@@ -62,8 +58,6 @@ namespace KJS {
private:
void compile();
int m_refCount;
// Data supplied by caller.
UString m_pattern; // FIXME: Just decompile m_regExp instead of storing this.
UString m_flags; // FIXME: Just decompile m_regExp instead of storing this.
......
/*
* Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef Shared_h
#define Shared_h
#include <wtf/Assertions.h>
#include <wtf/Noncopyable.h>
namespace WTF {
template<class T> class Shared : Noncopyable {
public:
Shared()
: m_refCount(0)
#ifndef NDEBUG
, m_deletionHasBegun(false)
#endif
{
}
void ref()
{
ASSERT(!m_deletionHasBegun);
++m_refCount;
}
void deref()
{
ASSERT(!m_deletionHasBegun);
if (--m_refCount <= 0) {
#ifndef NDEBUG
m_deletionHasBegun = true;
#endif
delete static_cast<T*>(this);
}
}
bool hasOneRef()
{
ASSERT(!m_deletionHasBegun);
return m_refCount == 1;
}
int refCount() const
{
return m_refCount;
}
private:
int m_refCount;
#ifndef NDEBUG
bool m_deletionHasBegun;
#endif
};
} // namespace WTF
using WTF::Shared;
#endif
2007-11-13 Geoffrey Garen <ggaren@apple.com>
Reviewed by Sam Weinig.
Moved Shared.h into wtf so it could be used in more places.
* ForwardingHeaders/wtf/Shared.h: Added.
2007-11-08 Mark Rowe <mrowe@apple.com>
Build fix.
......
#include <JavaScriptCore/Shared.h>
2007-11-13 Geoffrey Garen <ggaren@apple.com>
Reviewed by Sam Weinig.
Moved Shared.h into wtf so it could be used in more places. Retained
TreeShared, but moved it to its own file, TreeShared.h.
* ForwardingHeaders/wtf/Shared.h: Added.
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSSVGPODTypeWrapper.h:
* css/CSSFontFace.h:
* css/CSSRuleList.h:
* css/Counter.h:
* css/Pair.h:
* css/Rect.h:
* css/StyleBase.h:
* css/StyleSheetList.h:
* dom/Clipboard.h:
* dom/DOMImplementation.h:
* dom/Event.h:
* dom/EventListener.h:
* dom/NamedNodeMap.h:
* dom/NodeFilterCondition.h:
* dom/NodeList.h:
* dom/Range.h:
* dom/RangeException.h:
* dom/RegisteredEventListener.h:
* dom/Traversal.h:
* history/BackForwardList.h:
* history/CachedPage.h:
* history/HistoryItem.h:
* html/CanvasGradient.h:
* html/CanvasPattern.h:
* html/HTMLCollection.h:
* html/MediaError.h:
* html/TimeRanges.h:
* html/VoidCallback.h:
* ksvg2/css/SVGRenderStyleDefs.h:
* ksvg2/svg/SVGAnimatedTemplate.h:
* ksvg2/svg/SVGElementInstanceList.h:
* ksvg2/svg/SVGList.h:
* ksvg2/svg/SVGPathSeg.h:
* ksvg2/svg/SVGPreserveAspectRatio.h:
* ksvg2/svg/SVGRenderingIntent.h:
* ksvg2/svg/SVGTransform.h:
* ksvg2/svg/SVGUnitTypes.h:
* loader/DocumentLoader.h:
* loader/FormState.h:
* loader/ResourceLoader.h:
* loader/TextResourceDecoder.h:
* loader/icon/IconRecord.h:
* page/BarInfo.h:
* page/Console.h:
* page/DOMSelection.h:
* page/DOMWindow.h:
* page/History.h:
* page/InspectorController.cpp:
* page/Plugin.h:
* page/Screen.h:
* platform/ArrayImpl.h:
* platform/CString.h:
* platform/DeprecatedValueListImpl.cpp:
* platform/FontFallbackList.h:
* platform/FontFamily.h:
* platform/FontSelector.h:
* platform/GlyphPageTreeNode.h:
* platform/PopupMenu.h:
* platform/RegularExpression.cpp:
* platform/ScrollBar.h:
* platform/Shared.h: Removed.
* platform/SharedBuffer.h:
* platform/StringImpl.h:
* platform/graphics/Icon.h:
* platform/graphics/svg/SVGResource.h:
* platform/network/FormData.h:
* platform/network/ResourceHandleClient.h:
* rendering/RenderStyle.h:
* rendering/SVGCharacterLayoutInfo.h:
* storage/SQLResultSetRowList.h:
* xml/DOMParser.h:
* xml/XMLSerializer.h:
* xml/XPathEvaluator.h:
* xml/XPathExpression.h:
* xml/XPathNSResolver.h:
* xml/XPathResult.h:
2007-11-13 Brady Eidson <beidson@apple.com>
JS bindings by Anders, reviewed by Brady
......
#include <JavaScriptCore/Shared.h>
......@@ -3382,10 +3382,6 @@
RelativePath="..\platform\SegmentedString.h"
>
</File>
<File
RelativePath="..\platform\Shared.h"
>
</File>
<File
RelativePath="..\platform\SharedBuffer.cpp"
>
......@@ -3574,6 +3570,10 @@
RelativePath="..\platform\Timer.h"
>
</File>
<File
RelativePath="..\platform\TreeShared.h"
>
</File>
<File
RelativePath="..\platform\UnicodeRange.cpp"
>
......
......@@ -53,6 +53,7 @@
14115B5209F84B7100CA4FC1 /* Node.h in Headers */ = {isa = PBXBuildFile; fileRef = 14115B5109F84B7100CA4FC1 /* Node.h */; settings = {ATTRIBUTES = (Private, ); }; };
14115B7209F84CD600CA4FC1 /* JSNodeFilter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 14115B7009F84CD600CA4FC1 /* JSNodeFilter.cpp */; };
14115B7309F84CD600CA4FC1 /* JSNodeFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = 14115B7109F84CD600CA4FC1 /* JSNodeFilter.h */; };
1419D2C50CEA6F6100FF507A /* TreeShared.h in Headers */ = {isa = PBXBuildFile; fileRef = 1419D2C40CEA6F6100FF507A /* TreeShared.h */; settings = {ATTRIBUTES = (Private, ); }; };
142011B60A003133008303F9 /* JSCSSStyleDeclaration.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 142011B40A003133008303F9 /* JSCSSStyleDeclaration.cpp */; };
142011B70A003133008303F9 /* JSCSSStyleDeclaration.h in Headers */ = {isa = PBXBuildFile; fileRef = 142011B50A003133008303F9 /* JSCSSStyleDeclaration.h */; };
1432E8470C51493800B1500F /* GCController.h in Headers */ = {isa = PBXBuildFile; fileRef = 1432E8460C51493800B1500F /* GCController.h */; };
......@@ -3580,7 +3581,6 @@
BCF7C0B80A1687CC0032F75B /* FontCache.h in Headers */ = {isa = PBXBuildFile; fileRef = BCF7C0B70A1687CC0032F75B /* FontCache.h */; };
BCF7C2340A16B5F80032F75B /* FontCacheMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = BCF7C2330A16B5F80032F75B /* FontCacheMac.mm */; };
BCFB2E5E0979E46400BA703D /* CachedResourceClient.h in Headers */ = {isa = PBXBuildFile; fileRef = BCFB2E5D0979E46400BA703D /* CachedResourceClient.h */; settings = {ATTRIBUTES = (Private, ); }; };
BCFB2E840979FD4F00BA703D /* Shared.h in Headers */ = {isa = PBXBuildFile; fileRef = BCFB2E830979FD4F00BA703D /* Shared.h */; settings = {ATTRIBUTES = (Private, ); }; };
BCFB2F41097A24B500BA703D /* SegmentedString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCFB2F3F097A24B500BA703D /* SegmentedString.cpp */; };
BCFB2F42097A24B500BA703D /* SegmentedString.h in Headers */ = {isa = PBXBuildFile; fileRef = BCFB2F40097A24B500BA703D /* SegmentedString.h */; };
BCFB2F76097A2E1A00BA703D /* Arena.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCFB2F74097A2E1A00BA703D /* Arena.cpp */; };
......@@ -4176,6 +4176,7 @@
14115B5109F84B7100CA4FC1 /* Node.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Node.h; sourceTree = "<group>"; };
14115B7009F84CD600CA4FC1 /* JSNodeFilter.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSNodeFilter.cpp; sourceTree = "<group>"; };
14115B7109F84CD600CA4FC1 /* JSNodeFilter.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSNodeFilter.h; sourceTree = "<group>"; };
1419D2C40CEA6F6100FF507A /* TreeShared.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TreeShared.h; sourceTree = "<group>"; };
141B94E509EC4223000E9413 /* MouseEvent.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = MouseEvent.idl; sourceTree = "<group>"; };
141B94EE09EC425A000E9413 /* UIEvent.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = UIEvent.idl; sourceTree = "<group>"; };
142011AE0A003117008303F9 /* CSSStyleDeclaration.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = CSSStyleDeclaration.idl; sourceTree = "<group>"; };
......@@ -7569,7 +7570,6 @@
BCF7C0B70A1687CC0032F75B /* FontCache.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = FontCache.h; sourceTree = "<group>"; };
BCF7C2330A16B5F80032F75B /* FontCacheMac.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = FontCacheMac.mm; sourceTree = "<group>"; };
BCFB2E5D0979E46400BA703D /* CachedResourceClient.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = CachedResourceClient.h; sourceTree = "<group>"; };
BCFB2E830979FD4F00BA703D /* Shared.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Shared.h; sourceTree = "<group>"; };
BCFB2F3F097A24B500BA703D /* SegmentedString.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SegmentedString.cpp; sourceTree = "<group>"; };
BCFB2F40097A24B500BA703D /* SegmentedString.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SegmentedString.h; sourceTree = "<group>"; };
BCFB2F74097A2E1A00BA703D /* Arena.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Arena.cpp; sourceTree = "<group>"; };
......@@ -11478,7 +11478,6 @@
BC014C730CC5579D009C4B20 /* SecurityOrigin.h */,
BCFB2F3F097A24B500BA703D /* SegmentedString.cpp */,
BCFB2F40097A24B500BA703D /* SegmentedString.h */,
BCFB2E830979FD4F00BA703D /* Shared.h */,
1A4A954B0B4EDCCB002D8C3C /* SharedBuffer.cpp */,
1A4A954C0B4EDCCB002D8C3C /* SharedBuffer.h */,
93309EA0099EB78C0056E581 /* SharedTimer.h */,
......@@ -11521,6 +11520,7 @@
51E1ECB20C91C55600DC255B /* Threading.h */,
93309EA1099EB78C0056E581 /* Timer.cpp */,
9305B24C098F1B6B00C28855 /* Timer.h */,
1419D2C40CEA6F6100FF507A /* TreeShared.h */,
514C762C0CE921F4007EF3CD /* UnicodeRange.cpp */,
514C762D0CE921F4007EF3CD /* UnicodeRange.h */,
9380F47109A11AB4001FDB34 /* Widget.cpp */,
......@@ -13749,7 +13749,6 @@
93F1994F08245E59001E9ABC /* Settings.h in Headers */,
A80E6CE80A1989CA007FB8C5 /* ShadowValue.h in Headers */,
37919C1D0BF3762800956998 /* ShapeArabic.h in Headers */,
BCFB2E840979FD4F00BA703D /* Shared.h in Headers */,
1A4A954E0B4EDCCB002D8C3C /* SharedBuffer.h in Headers */,
93309EA3099EB78C0056E581 /* SharedTimer.h in Headers */,
4B6FA6F40C39E48C00087011 /* SmartReplace.h in Headers */,
......@@ -13892,6 +13891,7 @@
BCB16C2D0979C3BD00467741 /* loader.h in Headers */,
93309DF8099E64920056E581 /* markup.h in Headers */,
93309E1E099E64920056E581 /* visible_units.h in Headers */,
1419D2C50CEA6F6100FF507A /* TreeShared.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -29,7 +29,7 @@
#if ENABLE(SVG)
#include "Frame.h"
#include "Shared.h"
#include <wtf/Shared.h>
#include "SVGElement.h"
#include <wtf/Assertions.h>
......
......@@ -27,7 +27,7 @@
#define CSSFontFace_h
#include <wtf/Vector.h>
#include "Shared.h"
#include <wtf/Shared.h>
namespace WebCore {
......
......@@ -25,7 +25,7 @@
#define CSSRuleList_h
#include "DeprecatedPtrList.h"
#include "Shared.h"
#include <wtf/Shared.h>
namespace WebCore {
......
......@@ -25,7 +25,7 @@
#include "CSSPrimitiveValue.h"
#include "PlatformString.h"
#include "Shared.h"
#include <wtf/Shared.h>
#include <wtf/PassRefPtr.h>
namespace WebCore {
......
......@@ -23,7 +23,7 @@
#ifndef Pair_h
#define Pair_h
#include "Shared.h"
#include <wtf/Shared.h>
#include "CSSPrimitiveValue.h"
#include <wtf/PassRefPtr.h>
......
......@@ -22,7 +22,7 @@
#define Rect_h
#include "CSSPrimitiveValue.h"
#include "Shared.h"
#include <wtf/Shared.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefPtr.h>
......
......@@ -25,7 +25,7 @@
#ifndef StyleBase_h
#define StyleBase_h
#include "Shared.h"
#include <wtf/Shared.h>
namespace WebCore {
......
......@@ -21,7 +21,7 @@
#ifndef StyleSheetList_h
#define StyleSheetList_h
#include "Shared.h"
#include <wtf/Shared.h>
#include "DeprecatedPtrList.h"
namespace WebCore {
......
......@@ -33,7 +33,7 @@
#include "DragImage.h"
#include "IntPoint.h"
#include "Node.h"
#include "Shared.h"
#include <wtf/Shared.h>
namespace WebCore {
......
......@@ -26,7 +26,7 @@
#ifndef DOMImplementation_h
#define DOMImplementation_h
#include "Shared.h"
#include <wtf/Shared.h>
#include <wtf/Forward.h>
namespace WebCore {
......
......@@ -28,7 +28,7 @@
#include "AtomicString.h"
#include "EventTarget.h"
#include "Shared.h"
#include <wtf/Shared.h>
namespace WebCore {
......
......@@ -21,7 +21,7 @@
#ifndef EventListener_h
#define EventListener_h
#include "Shared.h"
#include <wtf/Shared.h>
namespace WebCore {
......
......@@ -26,7 +26,7 @@
#ifndef NamedNodeMap_h
#define NamedNodeMap_h
#include "Shared.h"
#include <wtf/Shared.h>
#include <wtf/PassRefPtr.h>
namespace WebCore {
......
......@@ -25,8 +25,9 @@
#define Node_h
#include "DocPtr.h"
#include "PlatformString.h"
#include "DeprecatedString.h"
#include "PlatformString.h"
#include "TreeShared.h"
#include <wtf/Assertions.h>
#include <wtf/HashSet.h>
#include <wtf/PassRefPtr.h>
......
......@@ -27,7 +27,7 @@
#ifndef NodeFilterCondition_h
#define NodeFilterCondition_h
#include "Shared.h"
#include <wtf/Shared.h>
namespace WebCore {
......
......@@ -26,7 +26,7 @@
#ifndef NodeList_h
#define NodeList_h
#include "Shared.h"
#include <wtf/Shared.h>
#include <wtf/Forward.h>
#include <wtf/RefPtr.h>
......
......@@ -27,7 +27,7 @@
#ifndef Range_h
#define Range_h
#include "Shared.h"
#include <wtf/Shared.h>
#include <wtf/Forward.h>
#include <wtf/RefPtr.h>
#include <wtf/Vector.h>
......
......@@ -27,7 +27,7 @@
#ifndef RangeException_h
#define RangeException_h
#include "Shared.h"
#include <wtf/Shared.h>
namespace WebCore {
......
......@@ -27,7 +27,7 @@
#define RegisteredEventListener_h
#include "AtomicString.h"
#include "Shared.h"
#include <wtf/Shared.h>
namespace WebCore {
......
......@@ -27,7 +27,7 @@
#ifndef Traversal_h
#define Traversal_h
#include "Shared.h"
#include <wtf/Shared.h>
#include <wtf/Forward.h>
#include <wtf/RefPtr.h>
......
......@@ -26,7 +26,7 @@
#ifndef BackForwardList_h
#define BackForwardList_h
#include "Shared.h"
#include <wtf/Shared.h>
#include <wtf/Forward.h>