Index: Source/core/dom/PromiseResolver.h |
diff --git a/Source/core/loader/UniqueIdentifier.cpp b/Source/core/dom/PromiseResolver.h |
similarity index 87% |
copy from Source/core/loader/UniqueIdentifier.cpp |
copy to Source/core/dom/PromiseResolver.h |
index 0ad56563e3e214a67acd8c53decb085ad4250cb9..51188fb84820cd02f063376afb06b68a31e4fb82 100644 |
--- a/Source/core/loader/UniqueIdentifier.cpp |
+++ b/Source/core/dom/PromiseResolver.h |
@@ -28,17 +28,17 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#include "config.h" |
-#include "core/loader/UniqueIdentifier.h" |
+#ifndef PromiseResolver_h |
+#define PromiseResolver_h |
-namespace WebCore { |
+#include "wtf/RefCounted.h" |
-static unsigned long s_uniqueIdentifier = 0; |
+namespace WebCore { |
-unsigned long createUniqueIdentifier() |
-{ |
- return ++s_uniqueIdentifier; |
-} |
+// An empty class. This is here because a generated file use it. |
+class PromiseResolver : public RefCounted<PromiseResolver> { |
+}; |
} // namespace WebCore |
+#endif // PromiseResolver_h |