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

Unified Diff: content/browser/frame_host/frame_tree_unittest.cc

Issue 1093923003: Change FrameTreeNode id from int64 to int. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change FrameTreeNode id from int64 to int Created 5 years, 8 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/frame_host/frame_tree_unittest.cc
diff --git a/content/browser/frame_host/frame_tree_unittest.cc b/content/browser/frame_host/frame_tree_unittest.cc
index 7f43f68ad54428c7261948b89a6b5da813d39499..d1ec9a7f7e710c43cbda144f6e678fdb27c3d918 100644
--- a/content/browser/frame_host/frame_tree_unittest.cc
+++ b/content/browser/frame_host/frame_tree_unittest.cc
@@ -328,9 +328,9 @@ TEST_F(FrameTreeTest, ProcessCrashClearsGlobalMap) {
child1_rfh->OnCreateChildFrame(33, std::string(), SandboxFlags::NONE);
// Ensure they can be found by id.
- int64 id1 = root->child_at(0)->frame_tree_node_id();
- int64 id2 = root->child_at(1)->frame_tree_node_id();
- int64 id3 = root->child_at(0)->child_at(0)->frame_tree_node_id();
+ int id1 = root->child_at(0)->frame_tree_node_id();
+ int id2 = root->child_at(1)->frame_tree_node_id();
+ int id3 = root->child_at(0)->child_at(0)->frame_tree_node_id();
EXPECT_TRUE(FrameTreeNode::GloballyFindByID(id1));
EXPECT_TRUE(FrameTreeNode::GloballyFindByID(id2));
EXPECT_TRUE(FrameTreeNode::GloballyFindByID(id3));
« no previous file with comments | « content/browser/frame_host/frame_tree_node.cc ('k') | content/browser/frame_host/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698