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

Unified Diff: content/shell/renderer/test_runner/mock_web_speech_recognizer.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_speech_recognizer.cc
diff --git a/content/shell/renderer/test_runner/mock_web_speech_recognizer.cc b/content/shell/renderer/test_runner/mock_web_speech_recognizer.cc
index de468f8376a19d5a137771530f2427afcc091603..f663adefd29bd74e5a2d69f1e6f64e5db5ee153a 100644
--- a/content/shell/renderer/test_runner/mock_web_speech_recognizer.cc
+++ b/content/shell/renderer/test_runner/mock_web_speech_recognizer.cc
@@ -5,7 +5,7 @@
#include "content/shell/renderer/test_runner/mock_web_speech_recognizer.h"
#include "base/logging.h"
-#include "content/shell/renderer/test_runner/WebTestDelegate.h"
+#include "content/shell/renderer/test_runner/web_test_delegate.h"
#include "third_party/WebKit/public/web/WebSpeechRecognitionResult.h"
#include "third_party/WebKit/public/web/WebSpeechRecognizerClient.h"
@@ -219,7 +219,7 @@ void MockWebSpeechRecognizer::SetError(const blink::WebString& error,
void MockWebSpeechRecognizer::StartTaskQueue() {
if (task_queue_running_)
return;
- delegate_->postTask(new StepTask(this));
+ delegate_->PostTask(new StepTask(this));
task_queue_running_ = true;
}
@@ -247,7 +247,7 @@ void MockWebSpeechRecognizer::StepTask::RunIfValid() {
return;
}
- object_->delegate_->postTask(new StepTask(object_));
+ object_->delegate_->PostTask(new StepTask(object_));
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698