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

Unified Diff: win8/viewer/metro_viewer_process_host.cc

Issue 310293002: Make IPC::Channel polymorphic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another attempt to fix build breakage Created 6 years, 6 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 | « ipc/ipc_test_sink.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/viewer/metro_viewer_process_host.cc
diff --git a/win8/viewer/metro_viewer_process_host.cc b/win8/viewer/metro_viewer_process_host.cc
index dde741b5ccc4eca96ef9242453541eec154da4cc..d3655d744eec7b58b18aab39b614d27bd1f5317b 100644
--- a/win8/viewer/metro_viewer_process_host.cc
+++ b/win8/viewer/metro_viewer_process_host.cc
@@ -85,13 +85,13 @@ MetroViewerProcessHost::~MetroViewerProcessHost() {
base::ProcessId MetroViewerProcessHost::GetViewerProcessId() {
if (channel_)
- return channel_->peer_pid();
+ return channel_->GetPeerPID();
return base::kNullProcessId;
}
bool MetroViewerProcessHost::LaunchViewerAndWaitForConnection(
const base::string16& app_user_model_id) {
- DCHECK_EQ(base::kNullProcessId, channel_->peer_pid());
+ DCHECK_EQ(base::kNullProcessId, channel_->GetPeerPID());
channel_connected_event_.reset(new base::WaitableEvent(false, false));
« no previous file with comments | « ipc/ipc_test_sink.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698