Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index 4ed2409759d684dd74f3753156d207ccf41a2bb1..66417d344e5c331923b82e065a882be2a23c9ffd 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -652,6 +652,8 @@ void Shell::Init(const ShellInitParams& init_params) { |
display_manager_->RefreshFontParams(); |
aura::Env::GetInstance()->set_context_factory(init_params.context_factory); |
+ aura::Env::GetInstance()->set_context_factory_private( |
+ init_params.context_factory_private); |
// The WindowModalityController needs to be at the front of the input event |
// pretarget handler list to ensure that it processes input events when modal |