Index: Source/core/dom/DOMException.cpp |
diff --git a/Source/core/dom/DOMException.cpp b/Source/core/dom/DOMException.cpp |
index ebb5b209f6c7a3b87d5232a9cb57cb1c7fef6dfc..2ae439f4cc7d55e541b8e36857bd1ed32cf3c39f 100644 |
--- a/Source/core/dom/DOMException.cpp |
+++ b/Source/core/dom/DOMException.cpp |
@@ -136,12 +136,4 @@ String DOMException::getErrorMessage(ExceptionCode ec) |
return entry->message; |
} |
-unsigned short DOMException::getLegacyErrorCode(ExceptionCode ec) |
-{ |
- const CoreException* entry = getErrorEntry(ec); |
- ASSERT(entry); |
- |
- return (entry && entry->code) ? entry->code : 0; |
-} |
- |
} // namespace WebCore |