Last change
on this file since 50129 was 45891, checked in by [email protected], 16 years ago |
JavaScriptCore:
2009-07-14 Zoltan Horvath <[email protected]>
Reviewed by Darin Adler.
Change all Noncopyable inheriting visibility to public.
https://bugs.webkit.org/show_bug.cgi?id=27225
Change all Noncopyable inheriting visibility to public because
it is needed to the custom allocation framework (bug #20422).
- bytecode/SamplingTool.h:
- bytecompiler/RegisterID.h:
- interpreter/CachedCall.h:
- interpreter/RegisterFile.h:
- parser/Lexer.h:
- parser/Parser.h:
- runtime/ArgList.h:
- runtime/BatchedTransitionOptimizer.h:
- runtime/Collector.h:
- runtime/CommonIdentifiers.h:
- runtime/JSCell.h:
- runtime/JSGlobalObject.h:
- runtime/JSLock.h:
- runtime/JSONObject.cpp:
- runtime/SmallStrings.cpp:
- runtime/SmallStrings.h:
- wtf/CrossThreadRefCounted.h:
- wtf/GOwnPtr.h:
- wtf/Locker.h:
- wtf/MessageQueue.h:
- wtf/OwnArrayPtr.h:
- wtf/OwnFastMallocPtr.h:
- wtf/OwnPtr.h:
- wtf/RefCounted.h:
- wtf/ThreadSpecific.h:
- wtf/Threading.h:
- wtf/Vector.h:
- wtf/unicode/Collator.h:
WebCore:
2009-07-14 Zoltan Horvath <[email protected]>
Reviewed by Darin Adler.
Change all Noncopyable inheriting visibility to public.
https://bugs.webkit.org/show_bug.cgi?id=27225
Change all Noncopyable inheriting visibility to public because
it is needed to the custom allocation framework (bug #20422).
- bindings/js/GCController.h:
- bindings/js/WorkerScriptController.h:
- bindings/v8/V8DOMMap.cpp:
(WebCore::):
- bridge/runtime.h:
- css/CSSSelector.h:
- css/CSSSelectorList.h:
- css/CSSStyleSelector.h:
- dom/ClassNames.h:
- dom/MessagePortChannel.h:
- dom/XMLTokenizerLibxml2.cpp:
- dom/XMLTokenizerScope.h:
- editing/ReplaceSelectionCommand.cpp:
- editing/SelectionController.h:
- editing/TextIterator.cpp:
- history/PageCache.h:
- html/CanvasRenderingContext2D.h:
- html/HTMLParser.h:
- html/HTMLParserQuirks.h:
- html/PreloadScanner.h:
- loader/Cache.h:
- loader/CrossOriginPreflightResultCache.h:
- loader/FrameLoader.h:
- loader/ProgressTracker.h:
- loader/ThreadableLoader.h:
- loader/appcache/ApplicationCacheGroup.h:
- loader/archive/ArchiveResourceCollection.h:
- loader/icon/IconDatabase.h:
- loader/icon/IconLoader.h:
- loader/icon/PageURLRecord.h:
- loader/loader.h:
- page/ContextMenuController.h:
- page/EventHandler.h:
- page/FrameTree.h:
- page/Page.h:
- page/PageGroup.h:
- page/PageGroupLoadDeferrer.h:
- page/mac/EventHandlerMac.mm:
- platform/AutodrainedPool.h:
- platform/ContextMenu.h:
- platform/EventLoop.h:
- platform/HostWindow.h:
- platform/Pasteboard.h:
- platform/PurgeableBuffer.h:
- platform/RunLoopTimer.h:
- platform/ThreadGlobalData.h:
- platform/ThreadTimers.h:
- platform/Timer.h:
- platform/TreeShared.h:
- platform/graphics/FontData.h:
- platform/graphics/GlyphWidthMap.h:
- platform/graphics/GraphicsContext.h:
- platform/graphics/ImageBuffer.h:
- platform/graphics/ImageSource.h:
- platform/graphics/MediaPlayer.h:
- platform/graphics/skia/GraphicsContextPlatformPrivate.h:
- platform/graphics/skia/PlatformContextSkia.h:
- platform/graphics/win/QTMovieWin.cpp:
- platform/mac/LocalCurrentGraphicsContext.h:
- platform/network/FormDataBuilder.h:
- platform/network/ResourceHandleInternal.h:
- platform/network/soup/ResourceHandleSoup.cpp:
- platform/text/StringBuffer.h:
- platform/text/TextCodec.h:
- platform/win/WindowMessageBroadcaster.h:
- rendering/CounterNode.h:
- rendering/LayoutState.h:
- rendering/RenderFrameSet.h:
- rendering/RenderView.h:
- rendering/TransformState.h:
- svg/SVGAnimatedProperty.h:
- svg/SynchronizableTypeWrapper.h:
- workers/WorkerMessagingProxy.h:
- workers/WorkerRunLoop.cpp:
- xml/XPathExpressionNode.h:
- xml/XPathParser.h:
- xml/XPathPredicate.h:
- xml/XPathStep.h:
WebKit/gtk:
2009-07-14 Zoltan Horvath <[email protected]>
Reviewed by Darin Adler.
Change all Noncopyable inheriting visibility to public.
https://bugs.webkit.org/show_bug.cgi?id=27225
Change all Noncopyable inheriting visibility to public because
it is needed to the custom allocation framework (bug #20422).
- webkit/webkitdownload.cpp:
WebKit/win:
2009-07-14 Zoltan Horvath <[email protected]>
Reviewed by Darin Adler.
Change all Noncopyable inheriting visibility to public.
https://bugs.webkit.org/show_bug.cgi?id=27225
Change all Noncopyable inheriting visibility to public because
it is needed to the custom allocation framework (bug #20422).
- COMEnumVariant.h:
- WebDatabaseManager.cpp:
- WebInspector.h:
- WebLocalizableStrings.cpp:
|
File size:
1.5 KB
|
Line | |
---|
1 | /*
|
---|
2 | * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
|
---|
3 | * Copyright (C) 2009 Google Inc. All rights reserved.
|
---|
4 | *
|
---|
5 | * This library is free software; you can redistribute it and/or
|
---|
6 | * modify it under the terms of the GNU Library General Public
|
---|
7 | * License as published by the Free Software Foundation; either
|
---|
8 | * version 2 of the License, or (at your option) any later version.
|
---|
9 | *
|
---|
10 | * This library is distributed in the hope that it will be useful,
|
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
13 | * Library General Public License for more details.
|
---|
14 | *
|
---|
15 | * You should have received a copy of the GNU Library General Public License
|
---|
16 | * along with this library; see the file COPYING.LIB. If not, write to
|
---|
17 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
---|
18 | * Boston, MA 02110-1301, USA.
|
---|
19 | *
|
---|
20 | */
|
---|
21 |
|
---|
22 | #ifndef OwnFastMallocPtr_h
|
---|
23 | #define OwnFastMallocPtr_h
|
---|
24 |
|
---|
25 | #include "FastMalloc.h"
|
---|
26 | #include "Noncopyable.h"
|
---|
27 |
|
---|
28 | namespace WTF {
|
---|
29 |
|
---|
30 | template<class T> class OwnFastMallocPtr : public Noncopyable {
|
---|
31 | public:
|
---|
32 | explicit OwnFastMallocPtr(T* ptr) : m_ptr(ptr)
|
---|
33 | {
|
---|
34 | }
|
---|
35 |
|
---|
36 | ~OwnFastMallocPtr()
|
---|
37 | {
|
---|
38 | fastFree(m_ptr);
|
---|
39 | }
|
---|
40 |
|
---|
41 | T* get() const { return m_ptr; }
|
---|
42 | T* release() { T* ptr = m_ptr; m_ptr = 0; return ptr; }
|
---|
43 |
|
---|
44 | private:
|
---|
45 | T* m_ptr;
|
---|
46 | };
|
---|
47 |
|
---|
48 | } // namespace WTF
|
---|
49 |
|
---|
50 | using WTF::OwnFastMallocPtr;
|
---|
51 |
|
---|
52 | #endif // OwnFastMallocPtr_h
|
---|
Note:
See
TracBrowser
for help on using the repository browser.