| Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| index 3fceeb2c2a45b9bcaf9f9a6971591191a5e34827..228996e93fc80f3cb8fd10e19484bc1180d0ac76 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -5345,7 +5345,6 @@ TEST_P(ParameterizedWebFrameTest, SlowSpellcheckMarkerPosition)
|
| webViewHelper.webView()->setSpellCheckClient(&spellcheck);
|
|
|
| WebLocalFrameImpl* frame = toWebLocalFrameImpl(webViewHelper.webView()->mainFrame());
|
| - WebInputElement webInputElement = frame->document().getElementById("data").to<WebInputElement>();
|
| Document* document = frame->frame()->document();
|
| Element* element = document->getElementById("data");
|
|
|
| @@ -5357,7 +5356,6 @@ TEST_P(ParameterizedWebFrameTest, SlowSpellcheckMarkerPosition)
|
| NonThrowableExceptionState exceptionState;
|
| document->execCommand("InsertText", false, "wellcome ", exceptionState);
|
| EXPECT_FALSE(exceptionState.hadException());
|
| - webInputElement.setSelectionRange(0, 0);
|
| document->execCommand("InsertText", false, "he", exceptionState);
|
| EXPECT_FALSE(exceptionState.hadException());
|
|
|
| @@ -5400,7 +5398,6 @@ TEST_P(ParameterizedWebFrameTest, SpellcheckResultErasesMarkers)
|
| webViewHelper.webView()->setSpellCheckClient(&spellcheck);
|
|
|
| WebLocalFrameImpl* frame = toWebLocalFrameImpl(webViewHelper.webView()->mainFrame());
|
| - WebInputElement webInputElement = frame->document().getElementById("data").to<WebInputElement>();
|
| Document* document = frame->frame()->document();
|
| Element* element = document->getElementById("data");
|
|
|
| @@ -5432,7 +5429,6 @@ TEST_P(ParameterizedWebFrameTest, SpellcheckResultsSavedInDocument)
|
| webViewHelper.webView()->setSpellCheckClient(&spellcheck);
|
|
|
| WebLocalFrameImpl* frame = toWebLocalFrameImpl(webViewHelper.webView()->mainFrame());
|
| - WebInputElement webInputElement = frame->document().getElementById("data").to<WebInputElement>();
|
| Document* document = frame->frame()->document();
|
| Element* element = document->getElementById("data");
|
|
|
|
|