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

Unified Diff: chrome/browser/extensions/api/autofill_private/autofill_private_event_router.cc

Issue 2009783002: Revert of Implement DISALLOW_COPY_AND_ASSIGN using = delete. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: chrome/browser/extensions/api/autofill_private/autofill_private_event_router.cc
diff --git a/chrome/browser/extensions/api/autofill_private/autofill_private_event_router.cc b/chrome/browser/extensions/api/autofill_private/autofill_private_event_router.cc
index 6f0a87f2ffd673db41e741f2e6ead3b156e8cdc8..f1fd03426cb93470a7610b01958ec0f1f320a771 100644
--- a/chrome/browser/extensions/api/autofill_private/autofill_private_event_router.cc
+++ b/chrome/browser/extensions/api/autofill_private/autofill_private_event_router.cc
@@ -25,7 +25,8 @@
content::BrowserContext* context)
: context_(context),
event_router_(nullptr),
- personal_data_(nullptr) {
+ personal_data_(nullptr),
+ listening_(false) {
// Register with the event router so we know when renderers are listening to
// our events. We first check and see if there *is* an event router, because
// some unit tests try to create all context services, but don't initialize

Powered by Google App Engine
This is Rietveld 408576698