Rename ENUM_CLASS_BEGIN() macro to ENUM_CLASS(), and make DatabaseType a strong enum.
Created attachment 186720 [details] the patch.
Here's another small EnumClass patch. May I have a review please? Thanks.
Attachment 186720 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WTF/ChangeLog', u'Source/WTF/wtf/EnumClass.h', u'Source/WebCore/ChangeLog', u'Source/WebCore/Modules/webdatabase/DatabaseBackend.cpp', u'Source/WebCore/Modules/webdatabase/DatabaseBackend.h', u'Source/WebCore/Modules/webdatabase/DatabaseBackendAsync.cpp', u'Source/WebCore/Modules/webdatabase/DatabaseBackendSync.cpp', u'Source/WebCore/Modules/webdatabase/DatabaseBasicTypes.h', u'Source/WebCore/Modules/webdatabase/DatabaseError.h']" exit_code: 1 Source/WebCore/Modules/webdatabase/DatabaseError.h:35: Place brace on its own line for function definitions. [whitespace/braces] [4] Source/WebCore/Modules/webdatabase/DatabaseBasicTypes.h:38: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 2 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Thanks for the review. Landed in r141950: <http://trac.webkit.org/changeset/141950>.