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

Unified Diff: content/browser/accessibility/browser_accessibility_win.cc

Issue 884683003: Add more logging to track down flakiness (2). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@log_wm_getobject
Patch Set: Created 5 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
Index: content/browser/accessibility/browser_accessibility_win.cc
diff --git a/content/browser/accessibility/browser_accessibility_win.cc b/content/browser/accessibility/browser_accessibility_win.cc
index 1287525767d0af52ba184fb7197ac50889919d4e..71534a4a173ca3a989fd07b70c49dc3d786fff8f 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -3215,8 +3215,12 @@ void BrowserAccessibilityWin::OnUpdateFinished() {
manager->MaybeCallNotifyWinEvent(EVENT_OBJECT_HELPCHANGE, this);
if (value != old_win_attributes_->value)
manager->MaybeCallNotifyWinEvent(EVENT_OBJECT_VALUECHANGE, this);
- if (ia_state() != old_win_attributes_->ia_state)
+ if (ia_state() != old_win_attributes_->ia_state) {
+ LOG(INFO) << "State change:"
+ << " from " << old_win_attributes_->ia_state
+ << " to " << ia_state();
manager->MaybeCallNotifyWinEvent(EVENT_OBJECT_STATECHANGE, this);
+ }
// Normally focus events are handled elsewhere, however
// focus for managed descendants is platform-specific.

Powered by Google App Engine
This is Rietveld 408576698