Changeset 52281 in webkit


Ignore:
Timestamp:
Dec 17, 2009 1:09:37 PM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-17 Zoltan Horvath <zoltan@webkit.org>

Reviewed by Eric Seidel.

Allow custom memory allocation control for js bindings
https://bugs.webkit.org/show_bug.cgi?id=32655

Inherits the following classes from Noncopyable because these are instantiated
by 'new' and no need to be copyable:

class name - instantiated at: WebCore/'location'

class ScriptCachedFrameData - history/CachedFrame.cpp:117
class WebCoreJSClientData - bindings/js/JSDOMWindowBase.cpp:162
class ScheduledAction - bindings/js/ScheduledAction.cpp:58

  • bindings/js/JSDOMBinding.h:
  • bindings/js/ScheduledAction.h:
  • bindings/js/ScriptCachedFrameData.h:
Location:
trunk/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r52280 r52281  
     12009-12-17  Zoltan Horvath  <zoltan@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Allow custom memory allocation control for js bindings
     6        https://bugs.webkit.org/show_bug.cgi?id=32655
     7
     8        Inherits the following classes from Noncopyable because these are instantiated
     9        by 'new' and no need to be copyable:
     10
     11        class name                  - instantiated at:  WebCore/'location'
     12
     13        class ScriptCachedFrameData - history/CachedFrame.cpp:117
     14        class WebCoreJSClientData   - bindings/js/JSDOMWindowBase.cpp:162
     15        class ScheduledAction       - bindings/js/ScheduledAction.cpp:58
     16
     17        * bindings/js/JSDOMBinding.h:
     18        * bindings/js/ScheduledAction.h:
     19        * bindings/js/ScriptCachedFrameData.h:
     20
    1212009-12-17  Adam Roben  <aroben@apple.com>
    222
  • trunk/WebCore/bindings/js/JSDOMBinding.h

    r52082 r52281  
    183183    };
    184184
    185     class WebCoreJSClientData : public JSC::JSGlobalData::ClientData {
     185    class WebCoreJSClientData : public JSC::JSGlobalData::ClientData, public Noncopyable {
    186186        friend class JSGlobalDataWorldIterator;
    187187
  • trunk/WebCore/bindings/js/ScheduledAction.h

    r49963 r52281  
    4141    * and window.setInterval()
    4242    */
    43     class ScheduledAction {
     43    class ScheduledAction : public Noncopyable {
    4444    public:
    4545        static ScheduledAction* create(JSC::ExecState*, const JSC::ArgList&, DOMWrapperWorld* isolatedWorld);
  • trunk/WebCore/bindings/js/ScriptCachedFrameData.h

    r50792 r52281  
    4141    class DOMWrapperWorld;
    4242
    43     class ScriptCachedFrameData  {
     43    class ScriptCachedFrameData  : public Noncopyable {
    4444        typedef HashMap< RefPtr<DOMWrapperWorld>, JSC::ProtectedPtr<JSDOMWindow> > JSDOMWindowSet;
    4545
Note: See TracChangeset for help on using the changeset viewer.