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

Unified Diff: android_webview/native/intercepted_request_data.cc

Issue 10702083: Add ContentViewDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 3 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
« no previous file with comments | « android_webview/native/intercepted_request_data.h ('k') | android_webview/native/webview_native.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/intercepted_request_data.cc
diff --git a/android_webview/native/intercepted_request_data.cc b/android_webview/native/intercepted_request_data.cc
index 80649bd646fed20d1b82bcddb6b3f7d0c0389cbd..4ef26a1ab17ada47adb735d67dbb6eaeaa638a5c 100644
--- a/android_webview/native/intercepted_request_data.cc
+++ b/android_webview/native/intercepted_request_data.cc
@@ -12,8 +12,8 @@ using std::string;
using base::android::ScopedJavaLocalRef;
InterceptedRequestData::InterceptedRequestData(
- JNIEnv* env, base::android::JavaRef<jobject> obj) {
- java_object_.Reset(env, obj.obj());
+ const base::android::JavaRef<jobject>& obj)
+ : java_object_(obj) {
}
InterceptedRequestData::~InterceptedRequestData() {
« no previous file with comments | « android_webview/native/intercepted_request_data.h ('k') | android_webview/native/webview_native.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698