summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/style/QuotesData.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/style/QuotesData.h')
-rw-r--r--Source/WebCore/rendering/style/QuotesData.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/WebCore/rendering/style/QuotesData.h b/Source/WebCore/rendering/style/QuotesData.h
index 07e92530f..3c743aefd 100644
--- a/Source/WebCore/rendering/style/QuotesData.h
+++ b/Source/WebCore/rendering/style/QuotesData.h
@@ -19,10 +19,8 @@
*
*/
-#ifndef QuotesData_h
-#define QuotesData_h
+#pragma once
-#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
@@ -36,7 +34,7 @@ namespace WebCore {
class QuotesData : public RefCounted<QuotesData> {
public:
- static PassRefPtr<QuotesData> create(const Vector<std::pair<String, String>>& quotes);
+ static Ref<QuotesData> create(const Vector<std::pair<String, String>>& quotes);
~QuotesData();
friend bool operator==(const QuotesData&, const QuotesData&);
@@ -61,5 +59,3 @@ inline bool operator!=(const QuotesData& a, const QuotesData& b)
}
} // namespace WebCore
-
-#endif // QuotesData_h