Index: ash/test/test_shell_delegate.cc |
diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc |
index bc9ebcf5646f5bc2c1d3c36af438bce81d85fb23..d58c0617a35a749a0d121090ebe8ee9f426bebb1 100644 |
--- a/ash/test/test_shell_delegate.cc |
+++ b/ash/test/test_shell_delegate.cc |
@@ -8,6 +8,7 @@ |
#include "ash/caps_lock_delegate_stub.h" |
#include "ash/default_accessibility_delegate.h" |
+#include "ash/gpu_support_stub.h" |
#include "ash/host/root_window_host_factory.h" |
#include "ash/media_delegate.h" |
#include "ash/new_window_delegate.h" |
@@ -150,6 +151,11 @@ WindowTreeHostFactory* TestShellDelegate::CreateWindowTreeHostFactory() { |
return WindowTreeHostFactory::Create(); |
} |
+GPUSupport* TestShellDelegate::CreateGPUSupport() { |
+ // Real GPU support depends on src/content, so just use a stub. |
+ return new GPUSupportStub; |
+} |
+ |
base::string16 TestShellDelegate::GetProductName() const { |
return base::string16(); |
} |