2010-12-13 Yury Semikhatsky <yurys@chromium.org>
authoryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Dec 2010 15:45:09 +0000 (15:45 +0000)
committeryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Dec 2010 15:45:09 +0000 (15:45 +0000)
        Unreviewed. Qt build fix.

        * dom/Event.cpp:
        (WebCore::Event::isErrorEvent):
        * dom/Event.h: remove ENABLE(WORKERS) guard since ErrorEvent is now used not
        only in workers.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@73917 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/dom/Event.cpp
WebCore/dom/Event.h

index d9c5b08..4a2c043 100644 (file)
@@ -1,3 +1,12 @@
+2010-12-13  Yury Semikhatsky  <yurys@chromium.org>
+
+        Unreviewed. Qt build fix.
+
+        * dom/Event.cpp:
+        (WebCore::Event::isErrorEvent):
+        * dom/Event.h: remove ENABLE(WORKERS) guard since ErrorEvent is now used not
+        only in workers.
+
 2010-12-13  Ilya Tikhonovsky  <loislo@chromium.org>
 
         Reviewed by Yury Semikhatsky.
index a949fd5..fc6d282 100644 (file)
@@ -203,12 +203,10 @@ bool Event::isIDBSuccessEvent() const
 }
 #endif
 
-#if ENABLE(WORKERS)
 bool Event::isErrorEvent() const
 {
     return false;
 }
-#endif
 
 #if ENABLE(TOUCH_EVENTS)
 bool Event::isTouchEvent() const
index f05d36c..9aef233 100644 (file)
@@ -132,9 +132,7 @@ namespace WebCore {
 #if ENABLE(WEB_AUDIO)
         virtual bool isAudioProcessingEvent() const;
 #endif
-#if ENABLE(WORKERS)
         virtual bool isErrorEvent() const;
-#endif
 #if ENABLE(TOUCH_EVENTS)
         virtual bool isTouchEvent() const;
 #endif