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

Unified Diff: chrome/renderer/benchmarking_extension.cc

Issue 864943002: Replaces instances of the deprecated TimeTicks::HighResNow() with TimeTicks::Now(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More changes based on review comments. Created 5 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
« no previous file with comments | « chrome/browser/net/network_stats.cc ('k') | content/browser/renderer_host/p2p/socket_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/benchmarking_extension.cc
diff --git a/chrome/renderer/benchmarking_extension.cc b/chrome/renderer/benchmarking_extension.cc
index 555de0194bb01cc10383bb1714e8060654b2b0f8..1a470511e50e622c52348c1d951d7402f6861832 100644
--- a/chrome/renderer/benchmarking_extension.cc
+++ b/chrome/renderer/benchmarking_extension.cc
@@ -119,7 +119,7 @@ class BenchmarkingWrapper : public v8::Extension {
static void HiResTime(const v8::FunctionCallbackInfo<v8::Value>& args) {
args.GetReturnValue().Set(
- static_cast<double>(base::TimeTicks::HighResNow().ToInternalValue()));
+ static_cast<double>(base::TimeTicks::Now().ToInternalValue()));
}
};
« no previous file with comments | « chrome/browser/net/network_stats.cc ('k') | content/browser/renderer_host/p2p/socket_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698