summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-01 01:02:07 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-01 01:02:07 +0000
commitfb534c949f92bec8c6312b58ffcc04c5dc488f2d (patch)
tree84384bdb8b06e62662ce1a5e9619ae455e9a69a8 /chrome/test
parentefeb669b05db99c54309771e4884b1a17d604a37 (diff)
downloadchromium_src-fb534c949f92bec8c6312b58ffcc04c5dc488f2d.zip
chromium_src-fb534c949f92bec8c6312b58ffcc04c5dc488f2d.tar.gz
chromium_src-fb534c949f92bec8c6312b58ffcc04c5dc488f2d.tar.bz2
Rename Real* to Double* in values.* and dependent files
BUG=None TEST=Compiles and passes all tests Review URL: http://codereview.chromium.org/6248026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/automation/browser_proxy.cc4
-rw-r--r--chrome/test/webdriver/utility_functions.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/test/automation/browser_proxy.cc b/chrome/test/automation/browser_proxy.cc
index 9ba3057..c91025d 100644
--- a/chrome/test/automation/browser_proxy.cc
+++ b/chrome/test/automation/browser_proxy.cc
@@ -628,11 +628,11 @@ bool BrowserProxy::GetInitialLoadTimes(float* min_start_time,
tab_dict = static_cast<DictionaryValue*>(tab_value);
double temp;
- if (!tab_dict->GetReal("load_start_ms", &temp))
+ if (!tab_dict->GetDouble("load_start_ms", &temp))
return false;
start_ms = static_cast<float>(temp);
// load_stop_ms can only be null if WaitForInitialLoads did not run.
- if (!tab_dict->GetReal("load_stop_ms", &temp))
+ if (!tab_dict->GetDouble("load_stop_ms", &temp))
return false;
stop_ms = static_cast<float>(temp);
diff --git a/chrome/test/webdriver/utility_functions.cc b/chrome/test/webdriver/utility_functions.cc
index 54e5ae8..4d6975f 100644
--- a/chrome/test/webdriver/utility_functions.cc
+++ b/chrome/test/webdriver/utility_functions.cc
@@ -35,8 +35,8 @@ std::wstring print_valuetype(Value::ValueType e) {
return L"BOOL";
case Value::TYPE_INTEGER:
return L"INT";
- case Value::TYPE_REAL:
- return L"REAL";
+ case Value::TYPE_DOUBLE:
+ return L"DOUBLE";
case Value::TYPE_STRING:
return L"STRING";
case Value::TYPE_BINARY: