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

Unified Diff: chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc

Issue 1099993002: Actually disable Wallet card saving on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix pdm tests Created 5 years, 8 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 | components/autofill.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc
diff --git a/chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc b/chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc
index e49e0b87cec0712b98cf14b976ab7603099706df..d460e73a7aba4a69628e8f0cc3d716effd105a9d 100644
--- a/chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc
+++ b/chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc
@@ -328,7 +328,8 @@ void CardUnmaskPromptViews::AnimationProgressed(
const gfx::Animation* animation) {
uint8_t alpha = static_cast<uint8_t>(animation->CurrentValueBetween(0, 255));
progress_overlay_->SetAlpha(alpha);
- storage_row_->SetAlpha(255 - alpha);
+ if (storage_row_)
+ storage_row_->SetAlpha(255 - alpha);
}
void CardUnmaskPromptViews::InitIfNecessary() {
« no previous file with comments | « no previous file | components/autofill.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698