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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2712773002: Add trace event for detecting main frame in loading metrics. (Closed)
Patch Set: comment Created 3 years, 10 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: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 8da8f4e1c98aebb9b1f3b9b75a69f813a96cdda2..2527b5aa78f4a4fffe23bc5e6d208dcc93ffd18d 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -2412,6 +2412,10 @@ WebInputMethodControllerImpl* WebLocalFrameImpl::inputMethodController() const {
return m_inputMethodController.get();
}
+void* WebLocalFrameImpl::frameIdForTracing() const {
+ return frame();
+}
+
void WebLocalFrameImpl::extractSmartClipData(WebRect rectInViewport,
WebString& clipText,
WebString& clipHtml) {

Powered by Google App Engine
This is Rietveld 408576698