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

Unified Diff: components/web_contents_delegate_android/web_contents_delegate_android.cc

Issue 126103003: Changed RefCountedStaticMemory() to accept a void pointer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 10 months 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
Index: components/web_contents_delegate_android/web_contents_delegate_android.cc
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.cc b/components/web_contents_delegate_android/web_contents_delegate_android.cc
index 07037cd7903027b6a61446dfd465929e93df046f..d12a23f665cd09de17271ba0f92d9045bc66b964 100644
--- a/components/web_contents_delegate_android/web_contents_delegate_android.cc
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc
@@ -97,8 +97,7 @@ WebContents* WebContentsDelegateAndroid::OpenURLFromTab(
params.browser_initiated_post_data.get()->size()) {
post_data = base::android::ToJavaByteArray(
env,
- reinterpret_cast<const uint8*>(
- params.browser_initiated_post_data.get()->front()),
+ params.browser_initiated_post_data.get()->front_as<uint8>(),
params.browser_initiated_post_data.get()->size());
}
Java_WebContentsDelegateAndroid_openNewTab(env,
« no previous file with comments | « chrome/browser/ui/webui/ntp/thumbnail_list_source.cc ('k') | content/browser/webui/web_ui_data_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698