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

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

Issue 458723002: TestInterfaces to chromium c++ style, rename methods and remove un-used header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated Created 6 years, 4 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 90f14c34de0246ff7fc9f612329115dcc09c3147..362c287e6ce40bee300edfea2775e32c1f2d5f41 100644
--- a/content/shell/renderer/test_runner/mock_web_midi_accessor.cc
+++ b/content/shell/renderer/test_runner/mock_web_midi_accessor.cc
@@ -4,8 +4,8 @@
#include "content/shell/renderer/test_runner/mock_web_midi_accessor.h"
-#include "content/shell/renderer/test_runner/TestInterfaces.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_runner.h"
#include "third_party/WebKit/public/platform/WebMIDIAccessorClient.h"
@@ -54,8 +54,8 @@ void MockWebMIDIAccessor::startSession() {
"MockOutputManufacturer",
"MockOutputName",
"MockOutputVersion");
- interfaces_->delegate()->postTask(new DidStartSessionTask(
- this, client_, interfaces_->testRunner()->midiAccessorResult()));
+ interfaces_->GetDelegate()->postTask(new DidStartSessionTask(
+ this, client_, interfaces_->GetTestRunner()->midiAccessorResult()));
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698