| Index: third_party/WebKit/Source/core/events/EventTargetTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/EventTargetTest.cpp b/third_party/WebKit/Source/core/events/EventTargetTest.cpp
|
| index 912c665f8c0edffcc880e5269d4d8f9231425716..c0ac434cb19e8d499220f226f573e2e5a7ee5931 100644
|
| --- a/third_party/WebKit/Source/core/events/EventTargetTest.cpp
|
| +++ b/third_party/WebKit/Source/core/events/EventTargetTest.cpp
|
| @@ -22,7 +22,7 @@ class EventTargetTest : public RenderingTest {
|
| TEST_F(EventTargetTest, PreventDefaultNotCalled) {
|
| GetDocument().GetSettings()->SetScriptEnabled(true);
|
| HistogramTester histogram_tester;
|
| - GetDocument().GetFrame()->Script().ExecuteScriptInMainWorld(
|
| + GetDocument().GetFrame()->GetScriptController().ExecuteScriptInMainWorld(
|
| "window.addEventListener('touchstart', function(e) {}, {});"
|
| "window.dispatchEvent(new TouchEvent('touchstart', {cancelable: "
|
| "false}));");
|
| @@ -36,7 +36,7 @@ TEST_F(EventTargetTest, PreventDefaultNotCalled) {
|
| TEST_F(EventTargetTest, PreventDefaultCalled) {
|
| GetDocument().GetSettings()->SetScriptEnabled(true);
|
| HistogramTester histogram_tester;
|
| - GetDocument().GetFrame()->Script().ExecuteScriptInMainWorld(
|
| + GetDocument().GetFrame()->GetScriptController().ExecuteScriptInMainWorld(
|
| "window.addEventListener('touchstart', function(e) "
|
| "{e.preventDefault();}, {});"
|
| "window.dispatchEvent(new TouchEvent('touchstart', {cancelable: "
|
|
|