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 a76aa3020e40b35af6d0e70ae9921d906ab4a7ef..6301f85c59c6c102677511f3889d66eeabf07a0f 100644 |
--- a/content/public/test/browser_test_utils.cc |
+++ b/content/public/test/browser_test_utils.cc |
@@ -31,7 +31,6 @@ |
#include "content/browser/web_contents/web_contents_view.h" |
#include "content/common/input/synthetic_web_input_event_builders.h" |
#include "content/common/input_messages.h" |
-#include "content/common/text_input_state.h" |
#include "content/common/view_messages.h" |
#include "content/public/browser/browser_context.h" |
#include "content/public/browser/histogram_fetcher.h" |
@@ -1236,18 +1235,4 @@ uint32_t InputMsgWatcher::WaitForAck() { |
return ack_result_; |
} |
-TextInputStateTestExport::TextInputStateTestExport( |
- const ui::TextInputType& type, |
- const std::string& value) |
- : type_(type), value_(value) {} |
- |
-// static |
-TextInputStateTestExport TextInputStateTestExport::FromWebContents( |
- WebContents* web_contents) { |
- const TextInputState* state = |
- static_cast<WebContentsImpl*>(web_contents)->GetTextInputState(); |
- |
- return TextInputStateTestExport(state->type, state->value); |
-} |
- |
} // namespace content |