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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1703163002: Remove dependency on GURL from content/common/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 0746e713f20785915aada189dc328dcd5bdd1aa2..8028f1c44b98616ad176469661b0991a0ea4ea00 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -1520,12 +1520,9 @@ RenderThreadImpl::CreateOffscreenContext3d() {
CAUSE_FOR_GPU_LAUNCH_WEBGRAPHICSCONTEXT3DCOMMANDBUFFERIMPL_INITIALIZE));
return make_scoped_ptr(
WebGraphicsContext3DCommandBufferImpl::CreateOffscreenContext(
- gpu_channel_host.get(),
- attributes,
- lose_context_when_out_of_memory,
- GURL("chrome://gpu/RenderThreadImpl::CreateOffscreenContext3d"),
- WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits(),
- NULL));
+ gpu_channel_host.get(), attributes, lose_context_when_out_of_memory,
+ "chrome://gpu/RenderThreadImpl::CreateOffscreenContext3d",
+ WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits(), NULL));
}
scoped_refptr<cc_blink::ContextProviderWebContext>

Powered by Google App Engine
This is Rietveld 408576698