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

Unified Diff: chrome/test/data/webui/media_router/media_router_container_cast_mode_list_tests.js

Issue 1886003002: [Media Router WebUI] Use I18nBehavior to retrieve strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « chrome/browser/resources/media_router/elements/route_details/route_details.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/media_router/media_router_container_cast_mode_list_tests.js
diff --git a/chrome/test/data/webui/media_router/media_router_container_cast_mode_list_tests.js b/chrome/test/data/webui/media_router/media_router_container_cast_mode_list_tests.js
index 6d61a666559f5ba25eddee5914702b9923811af8..93b74981c1f0c4a28270cae795f48475d72cbaab 100644
--- a/chrome/test/data/webui/media_router/media_router_container_cast_mode_list_tests.js
+++ b/chrome/test/data/webui/media_router/media_router_container_cast_mode_list_tests.js
@@ -156,7 +156,7 @@ cr.define('media_router_container_cast_mode_list', function() {
// Tests the header text. Choosing a cast mode updates the header text.
test('header text with no default cast modes', function(done) {
assertEquals(loadTimeData.getString('selectCastModeHeaderText'),
- container.i18n_.selectCastModeHeaderText);
+ container.i18n('selectCastModeHeaderText'));
// The container is currently in auto cast mode, since we have not
// picked a cast mode explicitly, and the sinks is not compatible
« no previous file with comments | « chrome/browser/resources/media_router/elements/route_details/route_details.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698