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

Unified Diff: content/shell/android/java/src/org/chromium/content_shell/Shell.java

Issue 49353008: Add way to reload the page, ignoring the cache (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed AwContents somehow Created 7 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
Index: content/shell/android/java/src/org/chromium/content_shell/Shell.java
diff --git a/content/shell/android/java/src/org/chromium/content_shell/Shell.java b/content/shell/android/java/src/org/chromium/content_shell/Shell.java
index 1d177b6197bc1f2215c7403fbdbd8b8205041ba8..f97b323d9945c226e156e5b53e3e4f04bc29b339 100644
--- a/content/shell/android/java/src/org/chromium/content_shell/Shell.java
+++ b/content/shell/android/java/src/org/chromium/content_shell/Shell.java
@@ -34,7 +34,7 @@ public class Shell extends LinearLayout {
private static final long COMPLETED_PROGRESS_TIMEOUT_MS = 200;
- private Runnable mClearProgressRunnable = new Runnable() {
+ private final Runnable mClearProgressRunnable = new Runnable() {
@Override
public void run() {
mProgressDrawable.setLevel(0);
@@ -141,7 +141,7 @@ public class Shell extends LinearLayout {
if (url == null) return;
if (TextUtils.equals(url, mContentView.getUrl())) {
- mContentView.reload();
+ mContentView.getContentViewCore().reload(true);
} else {
mContentView.loadUrl(new LoadUrlParams(sanitizeUrl(url)));
}

Powered by Google App Engine
This is Rietveld 408576698