Title: [132456] trunk/Source/WebCore
- Revision
- 132456
- Author
- [email protected]
- Date
- 2012-10-25 00:34:35 -0700 (Thu, 25 Oct 2012)
Log Message
Remove dead Node::isBlockFlowOrBlockTable
https://bugs.webkit.org/show_bug.cgi?id=100336
Patch by Elliott Sprehn <[email protected]> on 2012-10-25
Reviewed by Eric Seidel.
Nothing uses Node::isBlockFlowOrBlockTable anymore so remove it.
No new tests needed, just removing dead code.
* dom/Node.cpp:
* dom/Node.h:
(Node):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (132455 => 132456)
--- trunk/Source/WebCore/ChangeLog 2012-10-25 07:32:35 UTC (rev 132455)
+++ trunk/Source/WebCore/ChangeLog 2012-10-25 07:34:35 UTC (rev 132456)
@@ -1,3 +1,18 @@
+2012-10-25 Elliott Sprehn <[email protected]>
+
+ Remove dead Node::isBlockFlowOrBlockTable
+ https://bugs.webkit.org/show_bug.cgi?id=100336
+
+ Reviewed by Eric Seidel.
+
+ Nothing uses Node::isBlockFlowOrBlockTable anymore so remove it.
+
+ No new tests needed, just removing dead code.
+
+ * dom/Node.cpp:
+ * dom/Node.h:
+ (Node):
+
2012-10-25 Eugene Klyuchnikov <[email protected]>
Web Inspector: Fix "check-inspector-strings" script and fix localized strings.
Modified: trunk/Source/WebCore/dom/Node.cpp (132455 => 132456)
--- trunk/Source/WebCore/dom/Node.cpp 2012-10-25 07:32:35 UTC (rev 132455)
+++ trunk/Source/WebCore/dom/Node.cpp 2012-10-25 07:34:35 UTC (rev 132456)
@@ -1528,11 +1528,6 @@
return renderer() && renderer()->isBlockFlow();
}
-bool Node::isBlockFlowOrBlockTable() const
-{
- return renderer() && (renderer()->isBlockFlow() || (renderer()->isTable() && !renderer()->isInline()));
-}
-
Element *Node::enclosingBlockFlowElement() const
{
Node *n = const_cast<Node *>(this);
Modified: trunk/Source/WebCore/dom/Node.h (132455 => 132456)
--- trunk/Source/WebCore/dom/Node.h 2012-10-25 07:32:35 UTC (rev 132455)
+++ trunk/Source/WebCore/dom/Node.h 2012-10-25 07:34:35 UTC (rev 132456)
@@ -258,8 +258,7 @@
Node* enclosingLinkEventParentOrSelf();
bool isBlockFlow() const;
- bool isBlockFlowOrBlockTable() const;
-
+
// These low-level calls give the caller responsibility for maintaining the integrity of the tree.
void setPreviousSibling(Node* previous) { m_previous = previous; }
void setNextSibling(Node* next) { m_next = next; }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes