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

Unified Diff: ui/android/view_android.cc

Issue 2282983004: Android: Fix benchmark regression (Closed)
Patch Set: Android: Fix benchmark regression Created 4 years, 4 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 | « device/power_save_blocker/power_save_blocker_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/view_android.cc
diff --git a/ui/android/view_android.cc b/ui/android/view_android.cc
index abe344bd86931da05266263dc0c8d74d9a42f555..c99f5b9807806d776fd9a2c0e8de35bba16daf99 100644
--- a/ui/android/view_android.cc
+++ b/ui/android/view_android.cc
@@ -113,9 +113,6 @@ ViewAndroid::ScopedAnchorView ViewAndroid::AcquireAnchorView() {
void ViewAndroid::SetAnchorRect(const JavaRef<jobject>& anchor,
const gfx::RectF& bounds) {
- if (bounds.IsEmpty())
- return;
-
ScopedJavaLocalRef<jobject> delegate(GetViewAndroidDelegate());
if (delegate.is_null())
return;
« no previous file with comments | « device/power_save_blocker/power_save_blocker_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698