Title: [119478] trunk/Source/WebCore
Revision
119478
Author
[email protected]
Date
2012-06-05 03:39:59 -0700 (Tue, 05 Jun 2012)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (119477 => 119478)


--- trunk/Source/WebCore/ChangeLog	2012-06-05 10:25:59 UTC (rev 119477)
+++ trunk/Source/WebCore/ChangeLog	2012-06-05 10:39:59 UTC (rev 119478)
@@ -1,5 +1,22 @@
 2012-06-05  Kentaro Hara  <[email protected]>
 
+        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):
+
+2012-06-05  Kentaro Hara  <[email protected]>
+
         Remove unused methods from SelectorQuery.h
         https://bugs.webkit.org/show_bug.cgi?id=88289
 

Modified: trunk/Source/WebCore/dom/SelectorQuery.h (119477 => 119478)


--- trunk/Source/WebCore/dom/SelectorQuery.h	2012-06-05 10:25:59 UTC (rev 119477)
+++ trunk/Source/WebCore/dom/SelectorQuery.h	2012-06-05 10:39:59 UTC (rev 119478)
@@ -74,11 +74,8 @@
 };
 
 class SelectorQueryCache {
-    WTF_MAKE_NONCOPYABLE(SelectorQueryCache);
     WTF_MAKE_FAST_ALLOCATED;
 public:
-    SelectorQueryCache() { };
-
     SelectorQuery* add(const AtomicString&, Document*, ExceptionCode&);
     void invalidate();
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to