Index: third_party/WebKit/Source/core/frame/UseCounter.cpp |
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.cpp b/third_party/WebKit/Source/core/frame/UseCounter.cpp |
index a776b7476ecae707a061b2410297131216d3d9c0..afa630eb5fc862b20595085779dee98963358787 100644 |
--- a/third_party/WebKit/Source/core/frame/UseCounter.cpp |
+++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp |
@@ -1181,7 +1181,7 @@ void UseCounter::DidCommitLoad(KURL url) { |
} |
} |
-void UseCounter::Count(const Frame* frame, Feature feature) { |
+void UseCounter::Count(const LocalFrame* frame, Feature feature) { |
if (!frame) |
return; |
Page* page = frame->GetPage(); |
@@ -1260,7 +1260,9 @@ void UseCounter::Count(CSSParserMode css_parser_mode, CSSPropertyID property) { |
legacy_counter_.CountCSS(property); |
} |
-void UseCounter::Count(Feature feature) { |
+void UseCounter::Count(Feature feature, const LocalFrame* sourceFrame) { |
dcheng
2017/05/27 08:16:21
Nit: source_frame
Rick Byers
2017/05/28 18:19:15
Done, thanks
|
+ // TODO(rbyers): Report UseCounter to browser process along with page |
+ // load metrics for sourceFrame crbug.com/716565 |
RecordMeasurement(feature); |
} |