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

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
« no previous file with comments | « components/html_viewer/html_frame.cc ('k') | components/web_view/frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ffdab1dda4a1975fb338f224c4deeefa48238114 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"
@@ -226,10 +227,10 @@ class HTMLFrameTest : public ViewManagerTestBase {
FrameConnection* result = frame_connection.get();
FrameClient* frame_client = frame_connection->frame_client();
ViewTreeClientPtr tree_client = frame_connection->GetViewTreeClient();
- frame_tree_.reset(
- new FrameTree(result->GetContentHandlerID(), view, tree_client.Pass(),
- frame_tree_delegate_.get(), frame_client,
- frame_connection.Pass(), Frame::ClientPropertyMap()));
+ frame_tree_.reset(new FrameTree(
+ result->GetContentHandlerID(), view, tree_client.Pass(),
+ frame_tree_delegate_.get(), frame_client, frame_connection.Pass(),
+ Frame::ClientPropertyMap(), base::TimeTicks::Now()));
frame_tree_delegate_->set_frame_tree(frame_tree_.get());
return result;
}
« no previous file with comments | « components/html_viewer/html_frame.cc ('k') | components/web_view/frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698