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

Unified Diff: blimp/engine/app/settings_manager.cc

Issue 1903873003: blimp: Update animation policy for images on the blimp engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove EngineSettings cc file. Created 4 years, 8 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
« no previous file with comments | « blimp/engine/app/engine_settings.cc ('k') | blimp/engine/app/settings_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/settings_manager.cc
diff --git a/blimp/engine/app/settings_manager.cc b/blimp/engine/app/settings_manager.cc
index baf0a094cadbef6970cde0f6f4305cdaafd1c358..f8b9f63f0d162c9f87c7ec211c83dbaaa58671c4 100644
--- a/blimp/engine/app/settings_manager.cc
+++ b/blimp/engine/app/settings_manager.cc
@@ -22,9 +22,8 @@ void SettingsManager::RemoveObserver(Observer* observer) {
}
void SettingsManager::UpdateWebkitPreferences(content::WebPreferences* prefs) {
- DCHECK(prefs);
-
prefs->record_whole_document = settings_.record_whole_document;
+ prefs->animation_policy = settings_.animation_policy;
}
const EngineSettings& SettingsManager::GetEngineSettings() const {
« no previous file with comments | « blimp/engine/app/engine_settings.cc ('k') | blimp/engine/app/settings_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698