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

Unified Diff: Source/devtools/front_end/main/ScreencastApp.js

Issue 420783002: DevTools: Make WI.Target.Capabilities enum values uppercase (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 | « no previous file | Source/devtools/front_end/sdk/OverridesSupport.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/main/ScreencastApp.js
diff --git a/Source/devtools/front_end/main/ScreencastApp.js b/Source/devtools/front_end/main/ScreencastApp.js
index ecc2fc3c25cb8471fd164ff33f425304a368bec4..62147aadfbabb16e70b0dc062f081b84e32a5fb3 100644
--- a/Source/devtools/front_end/main/ScreencastApp.js
+++ b/Source/devtools/front_end/main/ScreencastApp.js
@@ -40,7 +40,7 @@ WebInspector.ScreencastApp.prototype = {
*/
presentUI: function(mainTarget)
{
- if (mainTarget.hasCapability(WebInspector.Target.Capabilities.canScreencast)) {
+ if (mainTarget.hasCapability(WebInspector.Target.Capabilities.CanScreencast)) {
this._screencastView = new WebInspector.ScreencastView(mainTarget);
this._screencastView.show(this._rootSplitView.mainElement());
this._screencastView.initialize();
« no previous file with comments | « no previous file | Source/devtools/front_end/sdk/OverridesSupport.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698