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

Unified Diff: webkit/glue/webthread_impl.cc

Issue 10651010: Add plumbing for WebThread::TaskObserver::willProcessTask() (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webthread_impl.cc
diff --git a/webkit/glue/webthread_impl.cc b/webkit/glue/webthread_impl.cc
index 4725fa158dfc46793f46f265839a0f7a18b2d5ab..3ef349710aed3434397300f6af2f693a0b521460 100644
--- a/webkit/glue/webthread_impl.cc
+++ b/webkit/glue/webthread_impl.cc
@@ -22,8 +22,9 @@ public:
TaskObserverAdapter(WebThread::TaskObserver* observer)
: observer_(observer) { }
- // WebThread::TaskObserver does not have a willProcessTask method.
- virtual void WillProcessTask(base::TimeTicks) OVERRIDE { }
+ virtual void WillProcessTask(base::TimeTicks) OVERRIDE {
+ observer_->willProcessTask();
+ }
virtual void DidProcessTask(base::TimeTicks) OVERRIDE {
observer_->didProcessTask();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698