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

Unified Diff: third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js

Issue 2137773002: [DevTools] Replace the target type with capabilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
Index: third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js
diff --git a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js
index 8eb98047f4e9f022972d50ef7f6ee409600fe297..a4ba497165a0a33e7afce7698994301100a0335b 100644
--- a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js
+++ b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js
@@ -46,7 +46,7 @@ WebInspector.ScreencastApp.prototype = {
return;
this._target = target;
- if (target.isPage()) {
+ if (target.hasBrowserCapability()) {
this._screencastView = new WebInspector.ScreencastView(target);
this._rootSplitWidget.setMainWidget(this._screencastView);
this._screencastView.initialize();

Powered by Google App Engine
This is Rietveld 408576698