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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java

Issue 481803004: Removing ContentViewCore dependencies from few functions which acts as direct wrapper to WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed review comments and rebased the patch. Created 6 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
Index: android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java b/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
index 5aaa32f92c8c494b3e876ae48aaaa858e91fad2f..e0a7a946197f7756185b36df4349b565b7306db8 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
@@ -149,11 +149,13 @@ class AwWebContentsDelegateAdapter extends AwWebContentsDelegate {
public void handleMessage(Message msg) {
switch(msg.what) {
case msgContinuePendingReload: {
- contentViewCore.continuePendingReload();
+ contentViewCore.getWebContents().getNavigationController()
+ .continuePendingReload();
break;
}
case msgCancelPendingReload: {
- contentViewCore.cancelPendingReload();
+ contentViewCore.getWebContents().getNavigationController()
+ .cancelPendingReload();
break;
}
default:

Powered by Google App Engine
This is Rietveld 408576698