summaryrefslogtreecommitdiff
path: root/deps/v8/src/date/dateparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/date/dateparser.h')
-rw-r--r--deps/v8/src/date/dateparser.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/deps/v8/src/date/dateparser.h b/deps/v8/src/date/dateparser.h
index c74a663e1e..9975737c07 100644
--- a/deps/v8/src/date/dateparser.h
+++ b/deps/v8/src/date/dateparser.h
@@ -5,9 +5,9 @@
#ifndef V8_DATE_DATEPARSER_H_
#define V8_DATE_DATEPARSER_H_
+#include "src/base/vector.h"
#include "src/strings/char-predicates.h"
#include "src/utils/allocation.h"
-#include "src/utils/vector.h"
namespace v8 {
namespace internal {
@@ -38,7 +38,7 @@ class DateParser : public AllStatic {
// [7]: UTC offset in seconds, or null value if no timezone specified
// If parsing fails, return false (content of output array is not defined).
template <typename Char>
- static bool Parse(Isolate* isolate, Vector<Char> str, double* output);
+ static bool Parse(Isolate* isolate, base::Vector<Char> str, double* output);
private:
// Range testing
@@ -57,7 +57,9 @@ class DateParser : public AllStatic {
template <typename Char>
class InputReader {
public:
- explicit InputReader(Vector<Char> s) : index_(0), buffer_(s) { Next(); }
+ explicit InputReader(base::Vector<Char> s) : index_(0), buffer_(s) {
+ Next();
+ }
int position() { return index_; }
@@ -117,7 +119,7 @@ class DateParser : public AllStatic {
private:
int index_;
- Vector<Char> buffer_;
+ base::Vector<Char> buffer_;
uint32_t ch_;
};