| Index: content/public/browser/web_contents_observer.cc
|
| diff --git a/content/public/browser/web_contents_observer.cc b/content/public/browser/web_contents_observer.cc
|
| index ecbb3bfd4cf9c9fd10a6478bfd43d647a5e419e2..b1aec3243b6c9987a234122eea896f3eef31ca6e 100644
|
| --- a/content/public/browser/web_contents_observer.cc
|
| +++ b/content/public/browser/web_contents_observer.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -47,14 +47,15 @@ bool WebContentsObserver::Send(IPC::Message* message) {
|
| return false;
|
| }
|
|
|
| - return tab_contents_->GetRenderViewHost()->Send(message);
|
| + return static_cast<RenderViewHostImpl*>(
|
| + tab_contents_->GetRenderViewHost())->Send(message);
|
| }
|
|
|
| int WebContentsObserver::routing_id() const {
|
| if (!tab_contents_ || !tab_contents_->GetRenderViewHost())
|
| return MSG_ROUTING_NONE;
|
|
|
| - return tab_contents_->GetRenderViewHost()->routing_id();
|
| + return tab_contents_->GetRenderViewHost()->GetRoutingID();
|
| }
|
|
|
| void WebContentsObserver::TabContentsDestroyed() {
|
|
|