Index: content/browser/storage_partition_impl_unittest.cc |
diff --git a/content/browser/storage_partition_impl_unittest.cc b/content/browser/storage_partition_impl_unittest.cc |
index 828828f6658cd578e0d48d340cb2a346e30cd9bf..dd0e2ad76a4f8c1b8f21abca0618fdfffc319fc6 100644 |
--- a/content/browser/storage_partition_impl_unittest.cc |
+++ b/content/browser/storage_partition_impl_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "base/threading/thread.h" |
#include "base/threading/thread_task_runner_handle.h" |
#include "content/browser/browser_thread_impl.h" |
+#include "content/browser/gpu/shader_disk_cache.h" |
#include "content/browser/quota/mock_quota_manager.h" |
#include "content/browser/storage_partition_impl.h" |
#include "content/public/browser/local_storage_usage_info.h" |
@@ -21,7 +22,6 @@ |
#include "content/public/test/test_browser_context.h" |
#include "content/public/test/test_browser_thread.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
-#include "gpu/ipc/host/shader_disk_cache.h" |
#include "net/base/test_completion_callback.h" |
#include "net/cookies/canonical_cookie.h" |
#include "net/cookies/cookie_store.h" |
@@ -602,19 +602,19 @@ |
StoragePartitionShaderClearTest() |
: thread_bundle_(content::TestBrowserThreadBundle::IO_MAINLOOP), |
browser_context_(new TestBrowserContext()) { |
- gpu::ShaderCacheFactory::InitInstance( |
+ ShaderCacheFactory::InitInstance( |
base::ThreadTaskRunnerHandle::Get(), |
BrowserThread::GetTaskRunnerForThread(BrowserThread::CACHE)); |
- gpu::ShaderCacheFactory::GetInstance()->SetCacheInfo( |
+ ShaderCacheFactory::GetInstance()->SetCacheInfo( |
kDefaultClientId, |
- BrowserContext::GetDefaultStoragePartition(browser_context()) |
- ->GetPath()); |
- cache_ = gpu::ShaderCacheFactory::GetInstance()->Get(kDefaultClientId); |
+ BrowserContext::GetDefaultStoragePartition( |
+ browser_context())->GetPath()); |
+ cache_ = ShaderCacheFactory::GetInstance()->Get(kDefaultClientId); |
} |
~StoragePartitionShaderClearTest() override { |
cache_ = NULL; |
- gpu::ShaderCacheFactory::GetInstance()->RemoveCacheInfo(kDefaultClientId); |
+ ShaderCacheFactory::GetInstance()->RemoveCacheInfo(kDefaultClientId); |
} |
void InitCache() { |
@@ -641,7 +641,7 @@ |
content::TestBrowserThreadBundle thread_bundle_; |
std::unique_ptr<TestBrowserContext> browser_context_; |
- scoped_refptr<gpu::ShaderDiskCache> cache_; |
+ scoped_refptr<ShaderDiskCache> cache_; |
}; |
// Tests --------------------------------------------------------------------- |