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

Unified Diff: chrome/browser/autocomplete_history_manager_unittest.cc

Issue 8429016: Autofill: unit test / valgrind; gyp tweak (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
« no previous file with comments | « no previous file | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete_history_manager_unittest.cc
diff --git a/chrome/browser/autocomplete_history_manager_unittest.cc b/chrome/browser/autocomplete_history_manager_unittest.cc
index df255f23ca51d41c8fdbcc2c31acbf6c2a86e454..f95374e9bd1f805fc8fb665729f5e4ba59e7c411 100644
--- a/chrome/browser/autocomplete_history_manager_unittest.cc
+++ b/chrome/browser/autocomplete_history_manager_unittest.cc
@@ -164,7 +164,8 @@ class AutocompleteHistoryManagerStubSend : public AutocompleteHistoryManager {
WebDataService* wds)
: AutocompleteHistoryManager(tab_contents, profile, wds) {}
- virtual bool Send(IPC::Message* message) { return true; } // intentional nop
+ // Intentionally swallow the message.
+ virtual bool Send(IPC::Message* message) { delete message; return true; }
};
} // namespace
« no previous file with comments | « no previous file | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698