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

Unified Diff: ui/native_theme/native_theme.cc

Issue 1461923002: Change name of NativeTheme::instance() to make it clear it's web only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/native_theme/native_theme.cc
diff --git a/ui/native_theme/native_theme.cc b/ui/native_theme/native_theme.cc
index 94a1eeff98c54256ac86e70ea410159e60e52c99..93c654550b2746e17800c11609bca954fb42f487 100644
--- a/ui/native_theme/native_theme.cc
+++ b/ui/native_theme/native_theme.cc
@@ -16,8 +16,8 @@ void NativeTheme::SetScrollbarColors(unsigned inactive_color,
track_color_ = track_color;
}
-// NativeTheme::instance() is implemented in the platform specific source files,
-// such as native_theme_win.cc or native_theme_linux.cc
+// NativeTheme::GetInstanceForWeb() is implemented in the platform specific
+// source files, such as native_theme_aurawin.cc or native_theme_linux.cc
void NativeTheme::AddObserver(NativeThemeObserver* observer) {
native_theme_observers_.AddObserver(observer);

Powered by Google App Engine
This is Rietveld 408576698