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

Unified Diff: third_party/WebKit/Source/core/frame/Frame.cpp

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/Frame.h ('k') | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/Frame.cpp
diff --git a/third_party/WebKit/Source/core/frame/Frame.cpp b/third_party/WebKit/Source/core/frame/Frame.cpp
index bf5ad89e29e1daefa5cab7a7c163915d7a36981d..ab7a50184a2baa5636cdd71ad122233d114f4d20 100644
--- a/third_party/WebKit/Source/core/frame/Frame.cpp
+++ b/third_party/WebKit/Source/core/frame/Frame.cpp
@@ -51,18 +51,6 @@ namespace blink {
using namespace HTMLNames;
-namespace {
-
-int64_t generateFrameID()
-{
- // Initialize to the current time to reduce the likelihood of generating
- // identifiers that overlap with those from past/future browser sessions.
- static int64_t next = static_cast<int64_t>(currentTime() * 1000000.0);
- return ++next;
-}
-
-} // namespace
-
Frame::~Frame()
{
InstanceCounters::decrementCounter(InstanceCounters::FrameCounter);
@@ -305,7 +293,6 @@ Frame::Frame(FrameClient* client, FrameHost* host, FrameOwner* owner)
, m_host(host)
, m_owner(owner)
, m_client(client)
- , m_frameID(generateFrameID())
, m_isLoading(false)
{
InstanceCounters::incrementCounter(InstanceCounters::FrameCounter);
« no previous file with comments | « third_party/WebKit/Source/core/frame/Frame.h ('k') | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698