Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1273)

Unified Diff: android_webview/native/aw_contents.cc

Issue 691783003: [WIP NOT FOR COMMIT] Switch Android to libc++ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/android/jni_array.cc » ('j') | net/base/address_tracker_linux_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index 3d48f9c196de76d7d62efa3af0cc3816481ad5c0..9261c8872e7cc401104bbd30942aa1ad03e7e6af 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -832,7 +832,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);
« no previous file with comments | « no previous file | base/android/jni_array.cc » ('j') | net/base/address_tracker_linux_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698