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

Unified Diff: components/html_viewer/html_frame_apptest.cc

Issue 1391963004: Correctly record and pass around navigation start time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/html_viewer/html_frame_apptest.cc
diff --git a/components/html_viewer/html_frame_apptest.cc b/components/html_viewer/html_frame_apptest.cc
index 4bfc034c0d9a9e1ff6ac51881c15d0072041f47d..bbaf9e6863a593fe7e886d8c5e772af23d7b108b 100644
--- a/components/html_viewer/html_frame_apptest.cc
+++ b/components/html_viewer/html_frame_apptest.cc
@@ -10,6 +10,7 @@
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "base/test/test_timeouts.h"
+#include "base/time/time.h"
#include "base/values.h"
#include "components/html_viewer/public/interfaces/test_html_viewer.mojom.h"
#include "components/mus/public/cpp/tests/view_manager_test_base.h"
@@ -229,7 +230,8 @@ class HTMLFrameTest : public ViewManagerTestBase {
frame_tree_.reset(
new FrameTree(result->GetContentHandlerID(), view, tree_client.Pass(),
frame_tree_delegate_.get(), frame_client,
- frame_connection.Pass(), Frame::ClientPropertyMap()));
+ frame_connection.Pass(), Frame::ClientPropertyMap(),
+ base::TimeTicks::Now()));
frame_tree_delegate_->set_frame_tree(frame_tree_.get());
return result;
}

Powered by Google App Engine
This is Rietveld 408576698