Index: ui/aura/desktop.cc |
diff --git a/ui/aura/desktop.cc b/ui/aura/desktop.cc |
index 2f6bde8b8459871b0ce8203c41ff5e28c4619249..2518039b96ef270774abec593b8b235101714b95 100644 |
--- a/ui/aura/desktop.cc |
+++ b/ui/aura/desktop.cc |
@@ -184,7 +184,7 @@ Desktop::Desktop() |
Desktop::~Desktop() { |
in_destructor_ = true; |
#ifdef USE_WEBKIT_COMPOSITOR |
- if (!compositor_factory_) |
+ if (!ui::Compositor::compositor_factory()) |
ui::CompositorCC::Terminate(); |
#endif |
if (instance_ == this) |