Index: chrome/browser/chromeos/offline/offline_load_page.cc |
diff --git a/chrome/browser/chromeos/offline/offline_load_page.cc b/chrome/browser/chromeos/offline/offline_load_page.cc |
index 236a9924c1ac83181dff340e1615f596d7374cff..32e0202200335b765607195726a9f0e22fbb0bf2 100644 |
--- a/chrome/browser/chromeos/offline/offline_load_page.cc |
+++ b/chrome/browser/chromeos/offline/offline_load_page.cc |
@@ -88,9 +88,7 @@ std::string OfflineLoadPage::GetHTMLContents() { |
kMaxBlankPeriod - |
NetworkStateNotifier::GetOfflineDuration().InMilliseconds()); |
// Set the timeout to show the page. |
- strings.SetString("on_load", |
- WideToUTF16Hack(base::StringPrintf(L"startTimer(%ld)", |
- time_to_wait))); |
+ strings.SetInteger("timeToWait", static_cast<int>(time_to_wait)); |
// Button labels |
SetString(&strings, "load_button", IDS_OFFLINE_LOAD_BUTTON); |
SetString(&strings, "cancel_button", IDS_OFFLINE_CANCEL_BUTTON); |