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

Unified Diff: content/shell/renderer/test_runner/mock_web_midi_accessor.cc

Issue 583113002: Abstract class WebTestDelegate to chromium c++ style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test_runner Created 6 years, 3 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/shell/renderer/test_runner/mock_web_midi_accessor.cc
diff --git a/content/shell/renderer/test_runner/mock_web_midi_accessor.cc b/content/shell/renderer/test_runner/mock_web_midi_accessor.cc
index 3aec5cb8fba2e5693d378cd356209154e4b0efc9..4e6b40b25760cec01f7ce1d4632e4b4805dcf97d 100644
--- a/content/shell/renderer/test_runner/mock_web_midi_accessor.cc
+++ b/content/shell/renderer/test_runner/mock_web_midi_accessor.cc
@@ -4,9 +4,9 @@
#include "content/shell/renderer/test_runner/mock_web_midi_accessor.h"
-#include "content/shell/renderer/test_runner/WebTestDelegate.h"
#include "content/shell/renderer/test_runner/test_interfaces.h"
#include "content/shell/renderer/test_runner/test_runner.h"
+#include "content/shell/renderer/test_runner/web_test_delegate.h"
#include "content/shell/renderer/test_runner/web_test_runner.h"
#include "third_party/WebKit/public/platform/WebMIDIAccessorClient.h"
@@ -54,7 +54,7 @@ void MockWebMIDIAccessor::startSession() {
"MockOutputManufacturer",
"MockOutputName",
"MockOutputVersion");
- interfaces_->GetDelegate()->postTask(new DidStartSessionTask(
+ interfaces_->GetDelegate()->PostTask(new DidStartSessionTask(
this, client_, interfaces_->GetTestRunner()->midiAccessorResult()));
}

Powered by Google App Engine
This is Rietveld 408576698