diff options
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/automation/browser_proxy.cc | 4 | ||||
-rw-r--r-- | chrome/test/webdriver/utility_functions.cc | 4 |
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: |