[FileSystem] Forward declare File in FileCallback.h
authornoel.gordon@gmail.com <noel.gordon@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Apr 2012 12:31:28 +0000 (12:31 +0000)
committernoel.gordon@gmail.com <noel.gordon@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Apr 2012 12:31:28 +0000 (12:31 +0000)
https://bugs.webkit.org/show_bug.cgi?id=83128

Reviewed by Kentaro Hara.

No new tests. Covered by existing tests.

* Modules/filesystem/FileCallback.h: forward declare File class to make
#include of "File.h" redundant.
(WebCore):

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

Source/WebCore/ChangeLog
Source/WebCore/Modules/filesystem/FileCallback.h

index b4e3477..79a0c99 100644 (file)
@@ -1,3 +1,16 @@
+2012-04-04  Noel Gordon  <noel.gordon@gmail.com>
+
+        [FileSystem] Forward declare File in FileCallback.h
+        https://bugs.webkit.org/show_bug.cgi?id=83128
+
+        Reviewed by Kentaro Hara.
+
+        No new tests. Covered by existing tests.
+
+        * Modules/filesystem/FileCallback.h: forward declare File class to make
+        #include of "File.h" redundant.
+        (WebCore):
+
 2012-04-04  Sheriff Bot  <webkit.review.bot@gmail.com>
 
         Unreviewed, rolling out r113156.
index 6f5ca3d..1e1dcb5 100644 (file)
 
 #if ENABLE(FILE_SYSTEM)
 
-#include "File.h"
 #include <wtf/RefCounted.h>
 
 namespace WebCore {
 
+class File;
+
 class FileCallback : public RefCounted<FileCallback> {
 public:
     virtual ~FileCallback() { }