Title: [192130] trunk/Source/WebCore
Revision
192130
Author
mcatanz...@igalia.com
Date
2015-11-07 09:17:47 -0800 (Sat, 07 Nov 2015)

Log Message

Node.h:392:12: warning: 'this' pointer cannot be null in well-defined C++ code
https://bugs.webkit.org/show_bug.cgi?id=150996

Reviewed by Andreas Kling.

Remove ASSERT(this) statement that is triggering hundreds of warnings from Clang.

* dom/Node.h:
(WebCore::Node::document):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (192129 => 192130)


--- trunk/Source/WebCore/ChangeLog	2015-11-07 15:22:30 UTC (rev 192129)
+++ trunk/Source/WebCore/ChangeLog	2015-11-07 17:17:47 UTC (rev 192130)
@@ -1,5 +1,17 @@
 2015-11-07  Michael Catanzaro  <mcatanz...@igalia.com>
 
+        Node.h:392:12: warning: 'this' pointer cannot be null in well-defined C++ code
+        https://bugs.webkit.org/show_bug.cgi?id=150996
+
+        Reviewed by Andreas Kling.
+
+        Remove ASSERT(this) statement that is triggering hundreds of warnings from Clang.
+
+        * dom/Node.h:
+        (WebCore::Node::document):
+
+2015-11-07  Michael Catanzaro  <mcatanz...@igalia.com>
+
         Unreviewed, fix GTK build after r191981
 
         * html/HTMLFormControlElement.cpp:

Modified: trunk/Source/WebCore/dom/Node.h (192129 => 192130)


--- trunk/Source/WebCore/dom/Node.h	2015-11-07 15:22:30 UTC (rev 192129)
+++ trunk/Source/WebCore/dom/Node.h	2015-11-07 17:17:47 UTC (rev 192130)
@@ -389,7 +389,6 @@
     // A Document node returns itself.
     Document& document() const
     {
-        ASSERT(this);
         return treeScope().documentScope();
     }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to