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

Unified Diff: ui/base/webui/web_ui_util.cc

Issue 1130613002: Clean up Noto Sans UI stuff. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: ui/base/webui/web_ui_util.cc
diff --git a/ui/base/webui/web_ui_util.cc b/ui/base/webui/web_ui_util.cc
index 98f0ca9887e88abfbd98d526faa1e2b7113c7f8f..359c6e4fcee2f9bc05524df3fea2cb7cc4270c9b 100644
--- a/ui/base/webui/web_ui_util.cc
+++ b/ui/base/webui/web_ui_util.cc
@@ -28,10 +28,6 @@
#include "base/win/windows_version.h"
#endif
-#if defined(OS_CHROMEOS)
-#include "ui/base/font_helper_chromeos.h"
-#endif
-
namespace webui {
std::string GetBitmapDataUrl(const SkBitmap& bitmap) {
@@ -168,10 +164,6 @@ std::string GetFontFamily() {
#endif
IDS_WEB_FONT_FAMILY);
-#if defined(OS_CHROMEOS)
- ui::ReplaceNotoSansWithRobotoIfEnabled(&font_family);
-#endif
-
// TODO(dnicoara) Remove Ozone check when PlatformFont support is introduced
// into Ozone: crbug.com/320050
#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(USE_OZONE)

Powered by Google App Engine
This is Rietveld 408576698