Commit 15394bcc authored by ivankr@chromium.org's avatar ivankr@chromium.org

[cros] Disable GIF user images.


BUG=140403


Review URL: https://chromiumcodereview.appspot.com/10830157

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149875 0039d316-1c4b-4281-b951-d872f2087c98
parent 18df76f0
...@@ -326,7 +326,7 @@ cr.define('login', function() { ...@@ -326,7 +326,7 @@ cr.define('login', function() {
this.imageElement.src = this.isGuest ? this.imageElement.src = this.isGuest ?
'chrome://theme/IDR_LOGIN_GUEST' : 'chrome://theme/IDR_LOGIN_GUEST' :
'chrome://userimage/' + this.user.username + 'chrome://userimage/' + this.user.username +
'?id=' + (new Date()).getTime() + '&animated'; '?id=' + new Date().getTime();
}, },
/** /**
......
...@@ -415,7 +415,7 @@ cr.define('options', function() { ...@@ -415,7 +415,7 @@ cr.define('options', function() {
*/ */
get currentUserImageUrl() { get currentUserImageUrl() {
return 'chrome://userimage/' + BrowserOptions.getLoggedInUsername() + return 'chrome://userimage/' + BrowserOptions.getLoggedInUsername() +
'?id=' + (new Date()).getTime() + '&animated'; '?id=' + new Date().getTime();
}, },
/** /**
......
...@@ -48,8 +48,6 @@ ui::SelectFileDialog::FileTypeInfo GetUserImageFileTypeInfo() { ...@@ -48,8 +48,6 @@ ui::SelectFileDialog::FileTypeInfo GetUserImageFileTypeInfo() {
file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("bmp")); file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("bmp"));
file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("gif"));
file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("jpg")); file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("jpg"));
file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("jpeg")); file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("jpeg"));
......
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