| Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
|
| index 724ed326cb0d59c009b9807387aa647d00cdefa6..7d18d9c0d8f195ed4c36c5d20987cb217d4fca3a 100644
|
| --- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
|
| +++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
|
| @@ -141,9 +141,9 @@ std::string GetNewTabBackgroundCSS(const ui::ThemeProvider* theme_provider,
|
|
|
| if (alignment & ThemeService::ALIGN_TOP) {
|
| if (alignment & ThemeService::ALIGN_LEFT)
|
| - return "0% " + base::IntToString(-offset) + "px";
|
| + return "left " + base::IntToString(-offset) + "px";
|
| else if (alignment & ThemeService::ALIGN_RIGHT)
|
| - return "100% " + base::IntToString(-offset) + "px";
|
| + return "right " + base::IntToString(-offset) + "px";
|
| return "center " + base::IntToString(-offset) + "px";
|
| }
|
| return ThemeService::AlignmentToString(alignment);
|
|
|