Index: ash/content_support/inject.cc |
diff --git a/ash/content_support/inject.cc b/ash/content_support/inject.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ba9f95a9671929168b5a11f8a2b5aa21a8d87b15 |
--- /dev/null |
+++ b/ash/content_support/inject.cc |
@@ -0,0 +1,17 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ash/content_support/inject.h" |
+ |
+#include "ash/content_support/gpu_support_impl.h" |
+#include "ash/shell.h" |
+ |
+namespace ash { |
+ |
+void InitContentSupport() { |
+ scoped_ptr<GPUSupport> gpu_support(new GPUSupportImpl); |
+ Shell::GetInstance()->SetGPUSupport(gpu_support.Pass()); |
+} |
+ |
+} // namespace ash |