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

Unified Diff: chrome/browser/ui/webui/chromeos/login/controller_pairing_screen_handler.h

Issue 2701023003: cros: Move call js prefix out of ctor. (Closed)
Patch Set: Created 3 years, 10 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/ui/webui/chromeos/login/controller_pairing_screen_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/controller_pairing_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/controller_pairing_screen_handler.h
index ea1038ee6bcbf72a044a9b2d742d7ce590c74486..a2c3e8f10c3790c32a5d85cbafad852b4408d670 100644
--- a/chrome/browser/ui/webui/chromeos/login/controller_pairing_screen_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/controller_pairing_screen_handler.h
@@ -36,8 +36,8 @@ class ControllerPairingScreenHandler : public ControllerPairingScreenActor,
void OnContextChanged(const base::DictionaryValue& diff) override;
content::BrowserContext* GetBrowserContext() override;
- ControllerPairingScreenActor::Delegate* delegate_;
- bool show_on_init_;
+ ControllerPairingScreenActor::Delegate* delegate_ = nullptr;
+ bool show_on_init_ = false;
DISALLOW_COPY_AND_ASSIGN(ControllerPairingScreenHandler);
};

Powered by Google App Engine
This is Rietveld 408576698