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

Changeset 119478 in webkit


Ignore:
Timestamp:
Jun 5, 2012, 3:39:59 AM (14 years ago)
Author:
haraken@chromium.org
Message:

Remove unnecessary constructor of SelectorQueryCache
https://bugs.webkit.org/show_bug.cgi?id=87942

Reviewed by Ryosuke Niwa.

Per the comment from darin@ (https://bugs.webkit.org/show_bug.cgi?id=87942#c27),
this patch removes an inline constructor that has no arguments.
To have the compiler generate the constructor,
this patch also removes WTF_MAKE_NONCOPYABLE().

No tests. No change in behavior.

  • dom/SelectorQuery.h:

(SelectorQueryCache):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r119477 r119478  
     12012-06-05  Kentaro Hara  <haraken@chromium.org>
     2
     3        Remove unnecessary constructor of SelectorQueryCache
     4        https://bugs.webkit.org/show_bug.cgi?id=87942
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        Per the comment from darin@ (https://bugs.webkit.org/show_bug.cgi?id=87942#c27),
     9        this patch removes an inline constructor that has no arguments.
     10        To have the compiler generate the constructor,
     11        this patch also removes WTF_MAKE_NONCOPYABLE().
     12
     13        No tests. No change in behavior.
     14
     15        * dom/SelectorQuery.h:
     16        (SelectorQueryCache):
     17
    1182012-06-05  Kentaro Hara  <haraken@chromium.org>
    219
  • trunk/Source/WebCore/dom/SelectorQuery.h

    r119477 r119478  
    7575
    7676class SelectorQueryCache {
    77     WTF_MAKE_NONCOPYABLE(SelectorQueryCache);
    7877    WTF_MAKE_FAST_ALLOCATED;
    7978public:
    80     SelectorQueryCache() { };
    81 
    8279    SelectorQuery* add(const AtomicString&, Document*, ExceptionCode&);
    8380    void invalidate();
Note: See TracChangeset for help on using the changeset viewer.