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

Unified Diff: chrome/browser/themes/browser_theme_provider.cc

Issue 5741001: Even more virtual method deinlining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (windows) Created 10 years 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: chrome/browser/themes/browser_theme_provider.cc
diff --git a/chrome/browser/themes/browser_theme_provider.cc b/chrome/browser/themes/browser_theme_provider.cc
index 3b33f04943ac331de4bbb1505bfa39c8d08ae9b3..36763bb7ec46670dc2fdab2673c858a268d3d531 100644
--- a/chrome/browser/themes/browser_theme_provider.cc
+++ b/chrome/browser/themes/browser_theme_provider.cc
@@ -326,6 +326,10 @@ void BrowserThemeProvider::UseDefaultTheme() {
UserMetrics::RecordAction(UserMetricsAction("Themes_Reset"), profile_);
}
+void BrowserThemeProvider::SetNativeTheme() {
+ UseDefaultTheme();
+}
+
bool BrowserThemeProvider::UsingDefaultTheme() {
return GetThemeID() == BrowserThemeProvider::kDefaultThemeID;
}
« no previous file with comments | « chrome/browser/themes/browser_theme_provider.h ('k') | chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698