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

Unified Diff: components/test_runner/test_runner_for_specific_view.cc

Issue 2012823003: Move IME related functions from WebFrame to WebLocalFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 4 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
Index: components/test_runner/test_runner_for_specific_view.cc
diff --git a/components/test_runner/test_runner_for_specific_view.cc b/components/test_runner/test_runner_for_specific_view.cc
index 7b9d08847be3dfa21cd7ac25e0ae4bdd050c5c91..22745cbe1ecda3a64427cae8a7c4c897d3981ebf 100644
--- a/components/test_runner/test_runner_for_specific_view.cc
+++ b/components/test_runner/test_runner_for_specific_view.cc
@@ -664,7 +664,7 @@ bool TestRunnerForSpecificView::FindString(
}
std::string TestRunnerForSpecificView::SelectionAsMarkup() {
- return web_view()->mainFrame()->selectionAsMarkup().utf8();
+ return web_view()->mainFrame()->toWebLocalFrame()->selectionAsMarkup().utf8();
}
void TestRunnerForSpecificView::SetViewSourceForFrame(const std::string& name,

Powered by Google App Engine
This is Rietveld 408576698