diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 22:25:44 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 22:25:44 +0000 |
commit | 04d97c1a6895a4ab6987fbb851513f9b82f4e741 (patch) | |
tree | 9d3f5b4a226167d6e936e89055447aefd11f0250 /chrome/browser/jankometer.cc | |
parent | a7659318ed6c379ba782f61d8fb80e665d3a45d7 (diff) | |
download | chromium_src-04d97c1a6895a4ab6987fbb851513f9b82f4e741.zip chromium_src-04d97c1a6895a4ab6987fbb851513f9b82f4e741.tar.gz chromium_src-04d97c1a6895a4ab6987fbb851513f9b82f4e741.tar.bz2 |
So it turns out that gdk already has a function that does exactly what we want.
http://www.google.com/codesearch/p?hl=en&sa=N&cd=2&ct=rc#eSCqYNcHl48/gtk%2B-2.4.10/gdk/gdkevents.c&q=gdk_event_get_time
Review URL: http://codereview.chromium.org/164429
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/jankometer.cc')
-rw-r--r-- | chrome/browser/jankometer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/jankometer.cc b/chrome/browser/jankometer.cc index 1c73d72..7cdbe3a 100644 --- a/chrome/browser/jankometer.cc +++ b/chrome/browser/jankometer.cc @@ -178,9 +178,9 @@ class JankObserver : public base::RefCountedThreadSafe<JankObserver>, virtual void WillProcessEvent(GdkEvent* event) { begin_process_message_ = TimeTicks::Now(); // TODO(evanm): we want to set queueing_time_ using - // event_utils::GetGdkEventTime, but how do you convert that info + // gdk_event_get_time, but how do you convert that info // into a delta? - // guint event_time = event_utils::GetGdkEventTime(event); + // guint event_time = gdk_event_get_time(event); queueing_time_ = base::TimeDelta::FromMilliseconds(0); StartProcessingTimers(); } |