Index: Source/core/dom/AutocompleteError.cpp |
diff --git a/Source/modules/quota/StorageInfo.cpp b/Source/core/dom/AutocompleteError.cpp |
similarity index 89% |
copy from Source/modules/quota/StorageInfo.cpp |
copy to Source/core/dom/AutocompleteError.cpp |
index 0a51cee7fb5e6183740935885ccd792d1e347b97..89b803670d48984c33f87cc1d9fba6ecfb01a4b1 100644 |
--- a/Source/modules/quota/StorageInfo.cpp |
+++ b/Source/core/dom/AutocompleteError.cpp |
@@ -29,19 +29,15 @@ |
*/ |
#include "config.h" |
-#include "modules/quota/StorageInfo.h" |
+#include "core/dom/AutocompleteError.h" |
namespace WebCore { |
-StorageInfo::StorageInfo(unsigned long long usage, unsigned long long quota) |
- : m_usage(usage) |
- , m_quota(quota) |
+AutocompleteError::AutocompleteError(const String& reason) |
+ : DOMException(0, "AutocompleteError") |
tkent
2014/04/23 06:36:57
Is it allowed to create a DOMException with code=0
|
+ , m_reason(reason) |
{ |
ScriptWrappable::init(this); |
} |
-StorageInfo::~StorageInfo() |
-{ |
-} |
- |
} // namespace WebCore |