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

Unified Diff: content/browser/resources/media/media_internals.js

Issue 2478803003: Remove DOMAutomationController::automation_id_ (Closed)
Patch Set: More of: Fixing issues caught by extra |expected_response| checks in ExecuteScript function. Created 3 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: content/browser/resources/media/media_internals.js
diff --git a/content/browser/resources/media/media_internals.js b/content/browser/resources/media/media_internals.js
index b285a4c581a34e3cc41a6711bc90176f6df799c7..51f884ecafc4a0ddc197cd979b156ed8d9987f4c 100644
--- a/content/browser/resources/media/media_internals.js
+++ b/content/browser/resources/media/media_internals.js
@@ -11,4 +11,5 @@ var media = {};
// <include src="client_renderer.js">
media.initialize(new Manager(new ClientRenderer()));
-cr.ui.decorate('tabbox', cr.ui.TabBox);
+if (cr.ui)
+ cr.ui.decorate('tabbox', cr.ui.TabBox);

Powered by Google App Engine
This is Rietveld 408576698