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

Unified Diff: content/shell/renderer/test_runner/mock_color_chooser.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_color_chooser.cc
diff --git a/content/shell/renderer/test_runner/mock_color_chooser.cc b/content/shell/renderer/test_runner/mock_color_chooser.cc
index 257d031f61e82905d39a27012be1ed3890364fe1..3e851fd502c67dfabe5761338b9fd1007ea807e3 100644
--- a/content/shell/renderer/test_runner/mock_color_chooser.cc
+++ b/content/shell/renderer/test_runner/mock_color_chooser.cc
@@ -4,7 +4,7 @@
#include "content/shell/renderer/test_runner/mock_color_chooser.h"
-#include "content/shell/renderer/test_runner/WebTestDelegate.h"
+#include "content/shell/renderer/test_runner/web_test_delegate.h"
#include "content/shell/renderer/test_runner/web_test_proxy.h"
namespace content {
@@ -41,7 +41,8 @@ MockColorChooser::~MockColorChooser() {
void MockColorChooser::setSelectedColor(const blink::WebColor color) {}
void MockColorChooser::endChooser() {
- delegate_->postDelayedTask(new HostMethodTask(this, &MockColorChooser::InvokeDidEndChooser), 0);
+ delegate_->PostDelayedTask(
+ new HostMethodTask(this, &MockColorChooser::InvokeDidEndChooser), 0);
}
void MockColorChooser::InvokeDidEndChooser() {

Powered by Google App Engine
This is Rietveld 408576698