| Index: content/public/test/browser_test_utils.cc
|
| diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
|
| index 51ac846ca7312554c22c7e3be075ed75ca7cf1fd..1761a9cb260ed3ea13471d3464b87056ac5ce066 100644
|
| --- a/content/public/test/browser_test_utils.cc
|
| +++ b/content/public/test/browser_test_utils.cc
|
| @@ -1067,9 +1067,7 @@ bool RequestFrame(WebContents* web_contents) {
|
| ->ScheduleComposite();
|
| }
|
|
|
| -FrameWatcher::FrameWatcher()
|
| - : BrowserMessageFilter(ViewMsgStart), frames_to_wait_(0) {
|
| -}
|
| +FrameWatcher::FrameWatcher() : MessageFilter(), frames_to_wait_(0) {}
|
|
|
| FrameWatcher::~FrameWatcher() {
|
| }
|
| @@ -1100,7 +1098,7 @@ void FrameWatcher::AttachTo(WebContents* web_contents) {
|
| DCHECK(web_contents);
|
| RenderWidgetHostImpl* widget_host = RenderWidgetHostImpl::From(
|
| web_contents->GetRenderViewHost()->GetWidget());
|
| - widget_host->GetProcess()->AddFilter(this);
|
| + widget_host->GetProcess()->GetChannel()->AddFilter(this);
|
| }
|
|
|
| void FrameWatcher::WaitFrames(int frames_to_wait) {
|
|
|