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

Unified Diff: Source/devtools/front_end/console/ConsolePanel.js

Issue 396993003: DevTools: get rid of WebInspector.cssModel, use target models instead (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/devtools/front_end/common/Console.js ('k') | Source/devtools/front_end/console/ConsoleView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/console/ConsolePanel.js
diff --git a/Source/devtools/front_end/console/ConsolePanel.js b/Source/devtools/front_end/console/ConsolePanel.js
index 4583a70c7549f43869abae6d7889a5de1551b4f3..d1f601b5452a5aee6b23709e162c5fbf612b2b99 100644
--- a/Source/devtools/front_end/console/ConsolePanel.js
+++ b/Source/devtools/front_end/console/ConsolePanel.js
@@ -133,9 +133,6 @@ WebInspector.ConsolePanel.ConsoleRevealer.prototype = {
*/
reveal: function(object)
{
- if (!(object instanceof WebInspector.ConsoleModel))
- return;
-
var consoleView = WebInspector.ConsolePanel._view();
if (consoleView.isShowing()) {
consoleView.focus();
« no previous file with comments | « Source/devtools/front_end/common/Console.js ('k') | Source/devtools/front_end/console/ConsoleView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698