Commit a4bc6ab2 authored by pfeldman@chromium.org's avatar pfeldman@chromium.org

DevTools: do not invalidate total layout each time console message is added.

BUG=352557
NOTRY=true

Review URL: https://codereview.chromium.org/216693002

git-svn-id: svn://svn.chromium.org/blink/trunk@170307 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2a1952d8
......@@ -412,6 +412,10 @@ WebInspector.InspectorView.prototype = {
*/
setErrorAndWarningCounts: function(errors, warnings)
{
if (this._errors === errors && this._warnings === warnings)
return;
this._errors = errors;
this._warnings = warnings;
this._errorWarningCountElement.classList.toggle("hidden", !errors && !warnings);
this._errorWarningCountElement.removeChildren();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment