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

Unified Diff: chrome/browser/dom_ui/value_helper.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/value_helper.cc
diff --git a/chrome/browser/dom_ui/value_helper.cc b/chrome/browser/dom_ui/value_helper.cc
index 92bee3c2852a12cc5cf18a2e0357573546069e1b..93c1137a1984f407aa697db33e9e5b2a141549c2 100644
--- a/chrome/browser/dom_ui/value_helper.cc
+++ b/chrome/browser/dom_ui/value_helper.cc
@@ -20,7 +20,7 @@ bool ValueHelper::TabToValue(
NewTabUI::SetURLTitleAndDirection(dictionary, current_navigation.title(),
current_navigation.virtual_url());
dictionary->SetString("type", "tab");
- dictionary->SetReal("timestamp", tab.timestamp.ToDoubleT());
+ dictionary->SetDouble("timestamp", tab.timestamp.ToDoubleT());
return true;
}
@@ -40,7 +40,7 @@ bool ValueHelper::WindowToValue(
if (tab_values->GetSize() == 0)
return false;
dictionary->SetString("type", "window");
- dictionary->SetReal("timestamp", window.timestamp.ToDoubleT());
+ dictionary->SetDouble("timestamp", window.timestamp.ToDoubleT());
dictionary->Set("tabs", tab_values.release());
return true;
}

Powered by Google App Engine
This is Rietveld 408576698