summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/Length.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/Length.h')
-rw-r--r--Source/WebCore/platform/Length.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/platform/Length.h b/Source/WebCore/platform/Length.h
index 9da71c7..1571944 100644
--- a/Source/WebCore/platform/Length.h
+++ b/Source/WebCore/platform/Length.h
@@ -25,6 +25,7 @@
#include <wtf/FastAllocBase.h>
#include <wtf/Forward.h>
#include <wtf/MathExtras.h>
+#include <wtf/PassOwnArrayPtr.h>
namespace WebCore {
@@ -193,8 +194,8 @@ private:
int m_value;
};
-Length* newCoordsArray(const String&, int& len);
-Length* newLengthArray(const String&, int& len);
+PassOwnArrayPtr<Length> newCoordsArray(const String&, int& len);
+PassOwnArrayPtr<Length> newLengthArray(const String&, int& len);
} // namespace WebCore