Changeset 52158 in webkit


Ignore:
Timestamp:
Dec 15, 2009 9:09:50 AM (14 years ago)
Author:
eric@webkit.org
Message:

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

Reviewed by Darin Adler.

Allow custom memory allocation control for EmptyEditorClient and EmptyInspectorClient
https://bugs.webkit.org/show_bug.cgi?id=32557

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 EmptyEditorClient - svg/graphics/SVGImage.cpp:230
class EmptyInspectorClient - svg/graphics/SVGImage.cpp:241

  • loader/EmptyClients.h:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r52157 r52158  
     12009-12-15  Zoltan Horvath  <zoltan@webkit.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        Allow custom memory allocation control for EmptyEditorClient and EmptyInspectorClient
     6        https://bugs.webkit.org/show_bug.cgi?id=32557
     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        class EmptyEditorClient    - svg/graphics/SVGImage.cpp:230
     13        class EmptyInspectorClient - svg/graphics/SVGImage.cpp:241
     14
     15        * loader/EmptyClients.h:
     16
    1172009-12-15  Zoltan Horvath  <zoltan@webkit.org>
    218
  • trunk/WebCore/loader/EmptyClients.h

    r51990 r52158  
    321321};
    322322
    323 class EmptyEditorClient : public EditorClient {
     323class EmptyEditorClient : public EditorClient, public Noncopyable {
    324324public:
    325325    virtual ~EmptyEditorClient() { }
     
    462462#endif // ENABLE(DRAG_SUPPORT)
    463463
    464 class EmptyInspectorClient : public InspectorClient {
     464class EmptyInspectorClient : public InspectorClient, public Noncopyable {
    465465public:
    466466    virtual ~EmptyInspectorClient() { }
Note: See TracChangeset for help on using the changeset viewer.