Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(743)

Unified Diff: Source/core/dom/DOMException.cpp

Issue 237583016: Remove some dead code in dom/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/DOMException.h ('k') | Source/core/dom/DOMImplementation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/dom/DOMException.h ('k') | Source/core/dom/DOMImplementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698