Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index 715cedf7c0813486da9fcb8af0a7f767c7bb8aa6..09f3e929593532114d0b58c5147ecaffb9020f60 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -1665,34 +1665,6 @@ unsigned short Node::compareDocumentPosition(const Node* otherNode, ShadowTreesT |
DOCUMENT_POSITION_PRECEDING | DOCUMENT_POSITION_CONTAINS | connection; |
} |
-FloatPoint Node::convertToPage(const FloatPoint& p) const |
-{ |
- // If there is a renderer, just ask it to do the conversion |
- if (renderer()) |
- return renderer()->localToAbsolute(p, UseTransforms); |
- |
- // Otherwise go up the tree looking for a renderer |
- if (Element* parent = parentElement()) |
- return parent->convertToPage(p); |
- |
- // No parent - no conversion needed |
- return p; |
-} |
- |
-FloatPoint Node::convertFromPage(const FloatPoint& p) const |
-{ |
- // If there is a renderer, just ask it to do the conversion |
- if (renderer()) |
- return renderer()->absoluteToLocal(p, UseTransforms); |
- |
- // Otherwise go up the tree looking for a renderer |
- if (Element* parent = parentElement()) |
- return parent->convertFromPage(p); |
- |
- // No parent - no conversion needed |
- return p; |
-} |
- |
String Node::debugName() const |
{ |
StringBuilder name; |