webkit_unit_tests crashing on chromium lion in ScrollbarLayerChromiumTest.resolveScro...
[WebKit-https.git] / Source / WebKit / chromium / tests / ScrollbarLayerChromiumTest.cpp
index 78b96b495fc01c50b2d3a9099e9d0dbfe02aed4e..5bf990cdee925c807d6451f5bbb43feb44512bb5 100644 (file)
@@ -27,6 +27,7 @@
 #include "ScrollbarLayerChromium.h"
 
 #include "Scrollbar.h"
+#include "Settings.h"
 #include "TreeSynchronizer.h"
 #include "cc/CCScrollbarLayerImpl.h"
 #include "cc/CCSingleThreadProxy.h"
@@ -90,6 +91,7 @@ TEST(ScrollbarLayerChromiumTest, resolveScrollLayerPointer)
 {
     DebugScopedSetImplThread impl;
 
+    Settings::setMockScrollbarsEnabled(true);
     {
         RefPtr<MockScrollbar> scrollbar = adoptRef(new MockScrollbar);
         RefPtr<LayerChromium> layerTreeRoot = LayerChromium::create();