summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/glue_serialize.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/webkit/glue/glue_serialize.h b/webkit/glue/glue_serialize.h
index 75422e2..eaa3f6d 100644
--- a/webkit/glue/glue_serialize.h
+++ b/webkit/glue/glue_serialize.h
@@ -10,26 +10,26 @@
#ifndef WEBKIT_GLUE_GLUE_SERIALIZE_H__
#define WEBKIT_GLUE_GLUE_SERIALIZE_H__
-#include "PassRefPtr.h"
-#include "RefPtr.h"
-
namespace WebCore {
class String;
class HistoryItem;
}
+namespace WTF {
+template<typename T> class PassRefPtr;
+}
namespace webkit_glue {
// HistoryItem serialization. The returned HistoryItem will have a ref count
// of 0, so the first RefPtr it is assigned to will take ownership. The empty
// string corresponds with a NULL HistoryItem.
void HistoryItemToString(
- PassRefPtr<WebCore::HistoryItem> item, std::string* serialized_item);
-PassRefPtr<WebCore::HistoryItem> HistoryItemFromString(
+ WTF::PassRefPtr<WebCore::HistoryItem> item, std::string* serialized_item);
+WTF::PassRefPtr<WebCore::HistoryItem> HistoryItemFromString(
const std::string& serialized_item);
// For testing purposes only.
void HistoryItemToVersionedString(
- PassRefPtr<WebCore::HistoryItem> item, int version,
+ WTF::PassRefPtr<WebCore::HistoryItem> item, int version,
std::string* serialized_item);
}