Index: chrome/browser/ui/webui/options/easy_unlock_handler.cc |
diff --git a/chrome/browser/ui/webui/options/easy_unlock_handler.cc b/chrome/browser/ui/webui/options/easy_unlock_handler.cc |
index 836aaf39b8badc251f9558f4c52286a6c1abb063..ccde01bf5315f57652b7318a854c8c489a14d11c 100644 |
--- a/chrome/browser/ui/webui/options/easy_unlock_handler.cc |
+++ b/chrome/browser/ui/webui/options/easy_unlock_handler.cc |
@@ -4,6 +4,8 @@ |
#include "chrome/browser/ui/webui/options/easy_unlock_handler.h" |
+#include <string> |
+ |
#include "base/bind.h" |
#include "base/values.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -67,7 +69,7 @@ void EasyUnlockHandler::OnTurnOffOperationStatusChanged() { |
void EasyUnlockHandler::SendTurnOffOperationStatus() { |
EasyUnlockService::TurnOffFlowStatus status = |
EasyUnlockService::Get(Profile::FromWebUI(web_ui())) |
- ->turn_off_flow_status(); |
+ ->GetTurnOffFlowStatus(); |
// Translate status into JS UI state string. Note the translated string |
// should match UIState defined in easy_unlock_turn_off_overlay.js. |