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

Unified Diff: content/test/webrtc_content_browsertest_base.cc

Issue 2052633002: Extend the ToRenderFrameHost magic to FrameTreeNode* and Shell* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix induced script bug. 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: content/test/webrtc_content_browsertest_base.cc
diff --git a/content/test/webrtc_content_browsertest_base.cc b/content/test/webrtc_content_browsertest_base.cc
index fe151f0422f1110d9d3bb224724c24a5371e5462..d8055bf8078e34bc47170779787b4aabb09bd4cd 100644
--- a/content/test/webrtc_content_browsertest_base.cc
+++ b/content/test/webrtc_content_browsertest_base.cc
@@ -63,9 +63,8 @@ void WebRtcContentBrowserTest::AppendUseFakeUIForMediaStreamFlag() {
std::string WebRtcContentBrowserTest::ExecuteJavascriptAndReturnResult(
const std::string& javascript) {
std::string result;
- EXPECT_TRUE(ExecuteScriptAndExtractString(
- shell()->web_contents(), javascript, &result))
- << "Failed to execute javascript " << javascript << ".";
+ EXPECT_TRUE(ExecuteScriptAndExtractString(shell(), javascript, &result))
+ << "Failed to execute javascript " << javascript << ".";
return result;
}

Powered by Google App Engine
This is Rietveld 408576698