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

Unified Diff: content/public/test/browser_test_utils.cc

Issue 1749343004: Implement Wheel Gesture Scrolling on OSX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure only high precision scroll begins are used Created 4 years, 9 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 | « content/public/test/browser_test_utils.h ('k') | content/renderer/input/input_handler_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « content/public/test/browser_test_utils.h ('k') | content/renderer/input/input_handler_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698