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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoView.java

Issue 1634843002: Force logo to be clickable even if animated doodle is a static PNG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoView.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoView.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoView.java
index c92240c371d01fb8ad33cdda09ddad02c3b5e0b0..9360f9751084ffb178ab8b402477c29788b216b7 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoView.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoView.java
@@ -132,11 +132,10 @@ public class LogoView extends FrameLayout implements OnClickListener {
}
/**
- * @return True after the animated GIF logo starts playing. False otherwise.
+ * @return True after we receive an animated logo from the server.
*/
public boolean isAnimatedLogoShowing() {
- return mAnimatedLogoDrawable != null && mAnimatedLogoDrawable.isRunning()
- && mAnimatedLogoDrawable.isValid();
+ return mAnimatedLogoDrawable != null;
}
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698