Index: android_webview/native/aw_contents.cc |
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc |
index e0dc28c8c16792f3c683f7b3766f4cc69e8e0ef3..e7258732193e7276067447fa2139ed7b8453299b 100644 |
--- a/android_webview/native/aw_contents.cc |
+++ b/android_webview/native/aw_contents.cc |
@@ -850,7 +850,7 @@ jboolean AwContents::RestoreFromOpaqueState( |
std::vector<uint8> state_vector; |
base::android::JavaByteArrayToByteVector(env, state, &state_vector); |
- Pickle pickle(reinterpret_cast<const char*>(state_vector.begin()), |
+ Pickle pickle(reinterpret_cast<const char*>(state_vector.data()), |
state_vector.size()); |
PickleIterator iterator(pickle); |