Commit 42635656 authored by Kuo Jen Wei's avatar Kuo Jen Wei Committed by Commit Bot

[CCA] Fix wrong text on video resolution option.

Fix width, height of video resolution option get swapped incorrectly by
crrev.com/c/1874996.

Bug: None
Test: Verify the text of video resolution options.

Change-Id: I575f26da394be89486c5af8db890623897c9f363
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1916181
Commit-Queue: Kuo Jen Wei <inker@chromium.org>
Commit-Queue: Shik Chen <shik@chromium.org>
Auto-Submit: Kuo Jen Wei <inker@chromium.org>
Reviewed-by: default avatarShik Chen <shik@chromium.org>
Cr-Commit-Position: refs/heads/master@{#715225}
parent bce657d6
......@@ -373,7 +373,7 @@ cca.views.ResolutionSettings.prototype.photoOptTextTempl_ = function(
*/
cca.views.ResolutionSettings.prototype.videoOptTextTempl_ = function(r) {
return chrome.i18n.getMessage(
'label_video_resolution', [r.width, r.height].map(String));
'label_video_resolution', [r.height, r.width].map(String));
};
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment