Index: Source/core/html/HTMLAnchorElement.cpp |
diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp |
index 734639808de9fcfc54d807281ab306d08623fd86..5c6b6c77ff3b4c6d5091f3d9dd2c1392c2dff444 100644 |
--- a/Source/core/html/HTMLAnchorElement.cpp |
+++ b/Source/core/html/HTMLAnchorElement.cpp |
@@ -133,15 +133,6 @@ HTMLAnchorElement::~HTMLAnchorElement() |
clearRootEditableElementForSelectionOnMouseDown(); |
} |
-// This function does not allow leading spaces before the port number. |
-static unsigned parsePortFromStringPosition(const String& value, unsigned portStart, unsigned& portEnd) |
-{ |
- portEnd = portStart; |
- while (isASCIIDigit(value[portEnd])) |
- ++portEnd; |
- return value.substring(portStart, portEnd - portStart).toUInt(); |
-} |
- |
bool HTMLAnchorElement::supportsFocus() const |
{ |
if (rendererIsEditable()) |