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

Unified Diff: Source/WebKit/chromium/tests/ProgrammaticScrollTest.cpp

Issue 18358004: Call didProgrammaticallyScroll only when ProgrammaticScrollNotifications is enabled, which is an ex… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test. Created 7 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 | « no previous file | Source/core/page/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/tests/ProgrammaticScrollTest.cpp
diff --git a/Source/WebKit/chromium/tests/ProgrammaticScrollTest.cpp b/Source/WebKit/chromium/tests/ProgrammaticScrollTest.cpp
index 3068c1b6eacfb1ebe5370cb42fbd76d7464f1888..9d65d794af67a2407f211d99f805a3d58aba7ec8 100644
--- a/Source/WebKit/chromium/tests/ProgrammaticScrollTest.cpp
+++ b/Source/WebKit/chromium/tests/ProgrammaticScrollTest.cpp
@@ -2,6 +2,7 @@
#include <gtest/gtest.h>
#include "FrameTestHelpers.h"
+#include "RuntimeEnabledFeatures.h"
#include "URLTestHelpers.h"
#include "WebFrame.h"
#include "WebFrameClient.h"
@@ -33,6 +34,11 @@ public:
{
}
+ virtual void SetUp()
+ {
+ RuntimeEnabledFeatures::setProgrammaticScrollNotificationsEnabled(true);
+ }
+
virtual void TearDown()
{
Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
« no previous file with comments | « no previous file | Source/core/page/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698