Title: [203298] trunk/Source/WebCore
Revision
203298
Author
[email protected]
Date
2016-07-15 14:01:45 -0700 (Fri, 15 Jul 2016)

Log Message

Let the compiler generate QualifiedName copy constructor and assignment operator
https://bugs.webkit.org/show_bug.cgi?id=159826

Reviewed by Alex Christensen.

Let the compiler generate QualifiedName copy constructor and assignment operator
as our custom implementation does nothing special. This also makes QualifiedName
movable as the compiler is now able to generate the move constructor / assignment
operator as well.

* dom/QualifiedName.h:
(WebCore::QualifiedName::QualifiedName): Deleted.
(WebCore::QualifiedName::operator=): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (203297 => 203298)


--- trunk/Source/WebCore/ChangeLog	2016-07-15 20:58:52 UTC (rev 203297)
+++ trunk/Source/WebCore/ChangeLog	2016-07-15 21:01:45 UTC (rev 203298)
@@ -1,3 +1,19 @@
+2016-07-15  Chris Dumez  <[email protected]>
+
+        Let the compiler generate QualifiedName copy constructor and assignment operator
+        https://bugs.webkit.org/show_bug.cgi?id=159826
+
+        Reviewed by Alex Christensen.
+
+        Let the compiler generate QualifiedName copy constructor and assignment operator
+        as our custom implementation does nothing special. This also makes QualifiedName
+        movable as the compiler is now able to generate the move constructor / assignment
+        operator as well.
+
+        * dom/QualifiedName.h:
+        (WebCore::QualifiedName::QualifiedName): Deleted.
+        (WebCore::QualifiedName::operator=): Deleted.
+
 2016-07-15  Antonio Gomes  <[email protected]>
 
         ScrollView::setHasHorizontalScrollbar / setHasVerticalScrollbar duplicate their logic

Modified: trunk/Source/WebCore/dom/QualifiedName.h (203297 => 203298)


--- trunk/Source/WebCore/dom/QualifiedName.h	2016-07-15 20:58:52 UTC (rev 203297)
+++ trunk/Source/WebCore/dom/QualifiedName.h	2016-07-15 21:01:45 UTC (rev 203298)
@@ -77,9 +77,6 @@
     QualifiedName() { }
 #endif
 
-    QualifiedName(const QualifiedName& other) : m_impl(other.m_impl) { }
-    const QualifiedName& operator=(const QualifiedName& other) { m_impl = other.m_impl; return *this; }
-
     bool operator==(const QualifiedName& other) const { return m_impl == other.m_impl; }
     bool operator!=(const QualifiedName& other) const { return !(*this == other); }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to