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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp

Issue 2863183003: DevTools: report adding mutation event listener as a violations. (Closed)
Patch Set: same Created 3 years, 7 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/core/inspector/InspectorLogAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
index 7522e62dfb6439f2817745d55423a018803cbdf0..74b12e134231e58974d1ac51336a525f99f3ead0 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
@@ -225,7 +225,6 @@ void InspectorLogAgent::ReportGenericViolation(PerformanceMonitor::Violation,
const String& text,
double time,
SourceLocation* location) {
- location->TakeStackTrace();
ConsoleMessage* message = ConsoleMessage::Create(
kViolationMessageSource, kVerboseMessageLevel, text, location->Clone());
ConsoleMessageAdded(message);

Powered by Google App Engine
This is Rietveld 408576698