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

Unified Diff: content/browser/renderer_host/text_input_client_mac_unittest.mm

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 10 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/renderer_host/text_input_client_mac_unittest.mm
diff --git a/content/browser/renderer_host/text_input_client_mac_unittest.mm b/content/browser/renderer_host/text_input_client_mac_unittest.mm
index dbab62f4161e92d88e5259f2683985dcd239668f..cbdd593ce88caa2392b061947cdb382342d74e5c 100644
--- a/content/browser/renderer_host/text_input_client_mac_unittest.mm
+++ b/content/browser/renderer_host/text_input_client_mac_unittest.mm
@@ -51,7 +51,7 @@ class TextInputClientMacTest : public testing::Test {
}
IPC::TestSink& ipc_sink() {
- return static_cast<MockRenderProcessHost*>(widget()->process())->sink();
+ return static_cast<MockRenderProcessHost*>(widget()->GetProcess())->sink();
}
private:
@@ -130,10 +130,10 @@ TEST_F(TextInputClientMacTest, NotFoundCharacterIndex) {
base::Unretained(service()), kPreviousValue));
scoped_refptr<TextInputClientMessageFilter> filter(
- new TextInputClientMessageFilter(widget()->process()->GetID()));
+ new TextInputClientMessageFilter(widget()->GetProcess()->GetID()));
scoped_ptr<IPC::Message> message(
new TextInputClientReplyMsg_GotCharacterIndexForPoint(
- widget()->routing_id(), kNotFoundValue));
+ widget()->GetRoutingID(), kNotFoundValue));
bool message_ok = true;
// Set |WTF::notFound| to the index |kTaskDelayMs| after the previous
// setting.
« no previous file with comments | « content/browser/renderer_host/text_input_client_mac.mm ('k') | content/browser/speech/speech_input_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698