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

Unified Diff: chrome/browser/dom_ui/foreign_session_handler.cc

Issue 6248026: Rename Real* to Double* in values.* and dependent files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More renames Created 9 years, 11 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/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;

Powered by Google App Engine
This is Rietveld 408576698