Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Unified Diff: content/browser/gpu/gpu_ipc_browsertests.cc

Issue 1703163002: Remove dependency on GURL from content/common/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary include from gpu_command_buffer_stub Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | content/browser/gpu/gpu_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_ipc_browsertests.cc
diff --git a/content/browser/gpu/gpu_ipc_browsertests.cc b/content/browser/gpu/gpu_ipc_browsertests.cc
index 1dcb1549049d47baa17b3826d685d17c289bcc54..f0a98d219b7b8bb40dc3866d864ffbb712de0306 100644
--- a/content/browser/gpu/gpu_ipc_browsertests.cc
+++ b/content/browser/gpu/gpu_ipc_browsertests.cc
@@ -48,12 +48,9 @@ class ContextTestBase : public content::ContentBrowserTest {
DCHECK(gpu_channel_host.get());
context_.reset(
WebGraphicsContext3DCommandBufferImpl::CreateOffscreenContext(
- gpu_channel_host.get(),
- blink::WebGraphicsContext3D::Attributes(),
- lose_context_when_out_of_memory,
- GURL(),
- WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits(),
- NULL));
+ gpu_channel_host.get(), blink::WebGraphicsContext3D::Attributes(),
+ lose_context_when_out_of_memory, std::string(),
+ WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits(), NULL));
CHECK(context_.get());
context_->InitializeOnCurrentThread();
context_support_ = context_->GetContextSupport();
@@ -134,12 +131,9 @@ class BrowserGpuChannelHostFactoryTest : public ContentBrowserTest {
bool lose_context_when_out_of_memory = false;
return make_scoped_ptr(
WebGraphicsContext3DCommandBufferImpl::CreateOffscreenContext(
- GetGpuChannel(),
- blink::WebGraphicsContext3D::Attributes(),
- lose_context_when_out_of_memory,
- GURL(),
- WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits(),
- NULL));
+ GetGpuChannel(), blink::WebGraphicsContext3D::Attributes(),
+ lose_context_when_out_of_memory, std::string(),
+ WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits(), NULL));
}
};
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | content/browser/gpu/gpu_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698