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

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

Issue 410283003: test_runner: Migrate MockSpellCheck to Chromium C++ style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Build.gn Created 6 years, 5 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/event_sender.cc
diff --git a/content/shell/renderer/test_runner/event_sender.cc b/content/shell/renderer/test_runner/event_sender.cc
index 2ccc4fd64dbe10fcd5d821879d80bec076386bf9..8791a2f8c1dfb26b4a89dd7a1d54577c6a2faf3d 100644
--- a/content/shell/renderer/test_runner/event_sender.cc
+++ b/content/shell/renderer/test_runner/event_sender.cc
@@ -8,9 +8,9 @@
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "content/public/common/page_zoom.h"
-#include "content/shell/renderer/test_runner/MockSpellCheck.h"
#include "content/shell/renderer/test_runner/TestInterfaces.h"
#include "content/shell/renderer/test_runner/WebTestDelegate.h"
+#include "content/shell/renderer/test_runner/mock_spell_check.h"
#include "content/shell/renderer/test_runner/web_test_proxy.h"
#include "gin/handle.h"
#include "gin/object_template_builder.h"
@@ -177,8 +177,8 @@ std::vector<std::string> MakeMenuItemStringsFor(
strings.push_back(*item);
}
WebVector<WebString> suggestions;
- MockSpellCheck::fillSuggestionList(
- context_menu->misspelledWord, &suggestions);
+ MockSpellCheck::FillSuggestionList(context_menu->misspelledWord,
+ &suggestions);
for (size_t i = 0; i < suggestions.size(); ++i) {
strings.push_back(suggestions[i].utf8());
}
« no previous file with comments | « content/shell/renderer/test_runner/SpellCheckClient.cpp ('k') | content/shell/renderer/test_runner/mock_spell_check.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698