Index: mojo/public/cpp/bindings/wtf_array.h |
diff --git a/mojo/public/cpp/bindings/wtf_array.h b/mojo/public/cpp/bindings/wtf_array.h |
index 46d9a6958bd658145761b1d7359993bc06cea57c..5964f2a4c9d985147a64b1e112d48d1b2fa13778 100644 |
--- a/mojo/public/cpp/bindings/wtf_array.h |
+++ b/mojo/public/cpp/bindings/wtf_array.h |
@@ -88,8 +88,8 @@ class WTFArray { |
// Returns a reference to the first element of the array. Calling this on a |
// null or empty array causes undefined behavior. |
- const T& front() const { return vec_.first(); } |
- T& front() { return vec_.first(); } |
+ const T& front() const { return vec_.front(); } |
+ T& front() { return vec_.front(); } |
// Returns the size of the array, which will be zero if the array is null. |
size_t size() const { return vec_.size(); } |