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

Unified Diff: webkit/plugins/npapi/test/plugin_schedule_timer_test.cc

Issue 6503001: clang: Fix several -Woverloaded-virtual warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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 | « webkit/plugins/npapi/test/plugin_schedule_timer_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/test/plugin_schedule_timer_test.cc
diff --git a/webkit/plugins/npapi/test/plugin_schedule_timer_test.cc b/webkit/plugins/npapi/test/plugin_schedule_timer_test.cc
index 82725eeb94b3aaf8267ffb8d80b25b425fa4f63d..db66a729fc5a3e310d0df27b34a56cc5143c32ca 100644
--- a/webkit/plugins/npapi/test/plugin_schedule_timer_test.cc
+++ b/webkit/plugins/npapi/test/plugin_schedule_timer_test.cc
@@ -48,7 +48,7 @@ NPError ScheduleTimerTest::New(
return error;
start_time_ = Time::Now();
- HandleEvent(0);
+ HandleEventIndex(0);
return NPERR_NO_ERROR;
}
@@ -66,7 +66,7 @@ void ScheduleTimerTest::OnTimer(uint32 timer_id) {
return;
}
- HandleEvent(event_index);
+ HandleEventIndex(event_index);
// Finish test if all events have happened.
if (num_received_events_ == kNumEvents)
@@ -94,7 +94,7 @@ void OnTimerHelper(NPP id, uint32 timer_id) {
}
}
-void ScheduleTimerTest::HandleEvent(int event_index) {
+void ScheduleTimerTest::HandleEventIndex(int event_index) {
const Event& event = schedule_[event_index];
// Mark event as received.
« no previous file with comments | « webkit/plugins/npapi/test/plugin_schedule_timer_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698