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

Unified Diff: device/power_save_blocker/power_save_blocker_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 | « no previous file | ui/android/view_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/power_save_blocker/power_save_blocker_android.cc
diff --git a/device/power_save_blocker/power_save_blocker_android.cc b/device/power_save_blocker/power_save_blocker_android.cc
index fa2867578cdd2ced940dafa5421b382e85db0b7e..226c57f0635946abb0999fd8a409fa61c4090bc2 100644
--- a/device/power_save_blocker/power_save_blocker_android.cc
+++ b/device/power_save_blocker/power_save_blocker_android.cc
@@ -63,6 +63,7 @@ void PowerSaveBlocker::Delegate::ApplyBlock() {
const ScopedJavaLocalRef<jobject> popup_view = anchor_view_.view();
if (popup_view.is_null())
return;
+ view_android_->SetAnchorRect(popup_view, gfx::RectF());
ScopedJavaLocalRef<jobject> obj(java_power_save_blocker_);
Java_PowerSaveBlocker_applyBlock(env, obj, popup_view);
}
« no previous file with comments | « no previous file | ui/android/view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698