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

Unified Diff: chrome/browser/web_applications/web_app_unittest.cc

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. Created 3 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: chrome/browser/web_applications/web_app_unittest.cc
diff --git a/chrome/browser/web_applications/web_app_unittest.cc b/chrome/browser/web_applications/web_app_unittest.cc
index fb5a1cbeb2642f9dfab262c4e7e28430eba72be4..e42e5f4f649bfafa627e4c4c38efa943e8ea8fcf 100644
--- a/chrome/browser/web_applications/web_app_unittest.cc
+++ b/chrome/browser/web_applications/web_app_unittest.cc
@@ -21,8 +21,6 @@
#include "chrome/browser/favicon/favicon_utils.h"
#endif
-using content::RenderViewHostTester;
-
class WebApplicationTest : public ChromeRenderViewHostTestHarness {
protected:
void SetUp() override {
@@ -47,8 +45,7 @@ TEST_F(WebApplicationTest, GetShortcutInfoForTab) {
content::RenderFrameHostTester::For(main_rfh())
->InitializeRenderFrameIfNeeded();
content::RenderFrameHostTester::TestOnMessageReceived(
- rvh()->GetMainFrame(),
- ChromeFrameHostMsg_DidGetWebApplicationInfo(0, web_app_info));
+ main_rfh(), ChromeFrameHostMsg_DidGetWebApplicationInfo(0, web_app_info));
std::unique_ptr<web_app::ShortcutInfo> info =
web_app::GetShortcutInfoForTab(web_contents());
« no previous file with comments | « android_webview/renderer/aw_render_frame_ext.cc ('k') | chrome/renderer/autofill/form_autocomplete_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698