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

Unified Diff: chrome/browser/ui/webui/chromeos/login/host_pairing_screen_handler.cc

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/host_pairing_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/host_pairing_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/host_pairing_screen_handler.cc
index 30acb8ef6a1964a518b30db0a843ce01d25645ee..420d76a72ad43178c1d07e6f1cf3d679edf4d97c 100644
--- a/chrome/browser/ui/webui/chromeos/login/host_pairing_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/host_pairing_screen_handler.cc
@@ -26,11 +26,8 @@ const char kCallbackContextReady[] = "contextReady";
} // namespace
-HostPairingScreenHandler::HostPairingScreenHandler()
- : BaseScreenHandler(kJsScreenPath),
- delegate_(NULL),
- show_on_init_(false),
- js_context_ready_(false) {
+HostPairingScreenHandler::HostPairingScreenHandler() {
+ set_call_js_prefix(kJsScreenPath);
}
HostPairingScreenHandler::~HostPairingScreenHandler() {

Powered by Google App Engine
This is Rietveld 408576698