summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/webdatabase/SQLStatementCallback.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/Modules/webdatabase/SQLStatementCallback.h')
-rw-r--r--Source/WebCore/Modules/webdatabase/SQLStatementCallback.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/Source/WebCore/Modules/webdatabase/SQLStatementCallback.h b/Source/WebCore/Modules/webdatabase/SQLStatementCallback.h
index 83201d2b8..6da7bc4f3 100644
--- a/Source/WebCore/Modules/webdatabase/SQLStatementCallback.h
+++ b/Source/WebCore/Modules/webdatabase/SQLStatementCallback.h
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
+ * 3. Neither the name of Apple Inc. ("Apple") nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
@@ -25,10 +25,8 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLStatementCallback_h
-#define SQLStatementCallback_h
-#if ENABLE(SQL_DATABASE)
+#pragma once
#include <wtf/ThreadSafeRefCounted.h>
@@ -43,8 +41,4 @@ public:
virtual bool handleEvent(SQLTransaction*, SQLResultSet*) = 0;
};
-}
-
-#endif
-
-#endif // SQLStatementErrorCallback_h
+} // namespace WebCore