| Index: chrome/browser/dom_ui/foreign_session_handler.cc
|
| diff --git a/chrome/browser/dom_ui/foreign_session_handler.cc b/chrome/browser/dom_ui/foreign_session_handler.cc
|
| index c31772d0bbceef30985dfbded28d4a86fe7faebc..eaf378a218314b82144c371d9fe1ac883ee8d6e1 100644
|
| --- a/chrome/browser/dom_ui/foreign_session_handler.cc
|
| +++ b/chrome/browser/dom_ui/foreign_session_handler.cc
|
| @@ -210,8 +210,8 @@ bool ForeignSessionHandler::SessionTabToValue(
|
| NewTabUI::SetURLTitleAndDirection(dictionary, current_navigation.title(),
|
| current_navigation.virtual_url());
|
| dictionary->SetString("type", "tab");
|
| - dictionary->SetReal("timestamp",
|
| - static_cast<double>(tab.timestamp.ToInternalValue()));
|
| + dictionary->SetDouble("timestamp",
|
| + static_cast<double>(tab.timestamp.ToInternalValue()));
|
| dictionary->SetInteger("sessionId", tab.tab_id.id());
|
| return true;
|
| }
|
| @@ -232,8 +232,8 @@ bool ForeignSessionHandler::SessionWindowToValue(
|
| if (tab_values->GetSize() == 0)
|
| return false;
|
| dictionary->SetString("type", "window");
|
| - dictionary->SetReal("timestamp",
|
| - static_cast<double>(window.timestamp.ToInternalValue()));
|
| + dictionary->SetDouble("timestamp",
|
| + static_cast<double>(window.timestamp.ToInternalValue()));
|
| dictionary->SetInteger("sessionId", window.window_id.id());
|
| dictionary->Set("tabs", tab_values.release());
|
| return true;
|
|
|