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

Unified Diff: content/browser/web_contents/web_contents_impl_unittest.cc

Issue 23841002: Create a new RenderFrameHost per child frame when --site-per-process is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and add some comments. Created 7 years, 3 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/browser/web_contents/web_contents_impl_unittest.cc
diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc
index b20cf664d21a4a134fed8829e101d31f06d257bf..88a62b8904dd3ef0dd64abce707959a415888864 100644
--- a/content/browser/web_contents/web_contents_impl_unittest.cc
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc
@@ -4,10 +4,10 @@
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
+#include "content/browser/renderer_host/frame_tree_node.h"
#include "content/browser/renderer_host/render_view_host_impl.h"
#include "content/browser/renderer_host/test_render_view_host.h"
#include "content/browser/site_instance_impl.h"
-#include "content/browser/web_contents/frame_tree_node.h"
#include "content/browser/web_contents/interstitial_page_impl.h"
#include "content/browser/web_contents/navigation_entry_impl.h"
#include "content/browser/webui/web_ui_controller_factory_registry.h"
@@ -2146,6 +2146,7 @@ TEST_F(WebContentsImplTest, PendingContents) {
// This test asserts the shape of the frame tree is correct, based on incoming
// frame attached/detached messages.
+#if 0
TEST_F(WebContentsImplTest, FrameTreeShape) {
std::string no_children_node("no children node");
std::string deep_subtree("node with deep subtree");
@@ -2221,5 +2222,6 @@ TEST_F(WebContentsImplTest, FrameTreeShape) {
contents()->OnFrameDetached(5, 15);
EXPECT_EQ(2UL, root->child_count());
}
+#endif
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698