Index: content/browser/renderer_host/input/touch_action_browsertest.cc |
diff --git a/content/browser/renderer_host/input/touch_action_browsertest.cc b/content/browser/renderer_host/input/touch_action_browsertest.cc |
index 72c8bc990866043a7e002bb781187a56cb8c4cfe..a1a9e8378e175a21dd5fed5ed35357d223032631 100644 |
--- a/content/browser/renderer_host/input/touch_action_browsertest.cc |
+++ b/content/browser/renderer_host/input/touch_action_browsertest.cc |
@@ -94,7 +94,7 @@ class TouchActionBrowserTest : public ContentBrowserTest { |
RenderWidgetHostImpl* host = GetWidgetHost(); |
scoped_refptr<FrameWatcher> frame_watcher(new FrameWatcher()); |
- host->GetProcess()->AddFilter(frame_watcher.get()); |
+ frame_watcher->AttachTo(shell()->web_contents()); |
host->GetView()->SetSize(gfx::Size(400, 400)); |
base::string16 ready_title(base::ASCIIToUTF16("ready")); |