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

Unified Diff: content/renderer/scheduler_proxy_task_runner.h

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: content/renderer/scheduler_proxy_task_runner.h
diff --git a/content/renderer/scheduler_proxy_task_runner.h b/content/renderer/scheduler_proxy_task_runner.h
index c4ccb2a8fedfac2ec64705ec199922fb80c20096..bddd34946bc8822ab4b1c87f9886553c6decdf88 100644
--- a/content/renderer/scheduler_proxy_task_runner.h
+++ b/content/renderer/scheduler_proxy_task_runner.h
@@ -25,13 +25,13 @@ class SchedulerProxyTaskRunner : public base::SingleThreadTaskRunner {
next_sequence_num_(0) {}
// base::SingleThreadTaskRunner implementation:
- virtual bool RunsTasksOnCurrentThread() const OVERRIDE {
+ virtual bool RunsTasksOnCurrentThread() const override {
return base::PlatformThread::CurrentId() == main_thread_id_;
}
virtual bool PostDelayedTask(const tracked_objects::Location& from_here,
const base::Closure& task,
- base::TimeDelta delay) OVERRIDE {
+ base::TimeDelta delay) override {
DCHECK(delay == base::TimeDelta());
base::PendingTask pending_task(from_here, task);
pending_task.sequence_num = ++next_sequence_num_;
@@ -47,7 +47,7 @@ class SchedulerProxyTaskRunner : public base::SingleThreadTaskRunner {
virtual bool PostNonNestableDelayedTask(
const tracked_objects::Location& from_here,
const base::Closure& task,
- base::TimeDelta delay) OVERRIDE {
+ base::TimeDelta delay) override {
NOTREACHED();
return false;
}
« no previous file with comments | « content/renderer/savable_resources_browsertest.cc ('k') | content/renderer/scheduler_proxy_task_runner_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698