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

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

Issue 2650543002: DevTools: render console level filter as drop box. (Closed)
Patch Set: rebase again Created 3 years, 11 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 252229614bcbaaf2235496c7a6db72298d9d8f03..cb1c23e2bbc91600fc37f6dd6d5f17b4aeef4a24 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
@@ -212,7 +212,7 @@ void InspectorLogAgent::reportLongLayout(double duration) {
String::format("Forced reflow while executing JavaScript took %ldms",
lround(duration * 1000));
ConsoleMessage* message = ConsoleMessage::create(
- ViolationMessageSource, WarningMessageLevel, messageText);
+ ViolationMessageSource, VerboseMessageLevel, messageText);
consoleMessageAdded(message);
}
@@ -221,7 +221,7 @@ void InspectorLogAgent::reportGenericViolation(PerformanceMonitor::Violation,
double time,
SourceLocation* location) {
ConsoleMessage* message = ConsoleMessage::create(
- ViolationMessageSource, WarningMessageLevel, text, location->clone());
+ ViolationMessageSource, VerboseMessageLevel, text, location->clone());
consoleMessageAdded(message);
};

Powered by Google App Engine
This is Rietveld 408576698