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

Unified Diff: content/browser/intents/internal_web_intents_dispatcher_unittest.cc

Issue 9706012: Add abstractions that let embedders drive tests of WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove CONTENT_EXPORT on statically linked functions. Merge to head for commit. Created 8 years, 9 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/browser/intents/internal_web_intents_dispatcher_unittest.cc
diff --git a/content/browser/intents/internal_web_intents_dispatcher_unittest.cc b/content/browser/intents/internal_web_intents_dispatcher_unittest.cc
index a70a9f4ff99c3030b4d296c964c33fc3d1e92906..b9eb2460070ff434192388a4609de4780e4c4778 100644
--- a/content/browser/intents/internal_web_intents_dispatcher_unittest.cc
+++ b/content/browser/intents/internal_web_intents_dispatcher_unittest.cc
@@ -48,7 +48,7 @@ TEST_F(InternalWebIntentsDispatcherTest, NotifiesOnReply) {
base::Bind(&InternalWebIntentsDispatcherTest::ReplySent,
base::Unretained(this)));
- dispatcher->DispatchIntent(contents());
+ dispatcher->DispatchIntent(web_contents());
dispatcher->SendReplyMessage(webkit_glue::WEB_INTENT_REPLY_SUCCESS,
ASCIIToUTF16("success"));

Powered by Google App Engine
This is Rietveld 408576698