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

Unified Diff: WebCore/storage/IDBDatabaseError.h

Issue 5722007: Merge 73605 - 2010-12-07 Jeremy Orlow <jorlow@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years 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 | « WebCore/dom/ExceptionCode.cpp ('k') | WebCore/storage/IDBDatabaseException.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/storage/IDBDatabaseError.h
===================================================================
--- WebCore/storage/IDBDatabaseError.h (revision 73908)
+++ WebCore/storage/IDBDatabaseError.h (working copy)
@@ -26,6 +26,7 @@
#ifndef IDBDatabaseError_h
#define IDBDatabaseError_h
+#include "IDBDatabaseException.h"
#include "PlatformString.h"
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
@@ -42,7 +43,7 @@
}
~IDBDatabaseError() { }
- unsigned short code() const { return m_code; }
+ unsigned short code() const { return m_code - IDBDatabaseException::IDBDatabaseExceptionOffset; }
void setCode(unsigned short value) { m_code = value; }
const String& message() const { return m_message; }
void setMessage(const String& value) { m_message = value; }
« no previous file with comments | « WebCore/dom/ExceptionCode.cpp ('k') | WebCore/storage/IDBDatabaseException.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698