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

Unified Diff: content/renderer/renderer_blink_platform_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/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 27965a71fe39b3b8ccd29d86b1bd10fc26580ac5..9351342fa26ab020ee3afbeccf43a1cc061898ca 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -1038,11 +1038,8 @@ RendererBlinkPlatformImpl::createOffscreenGraphicsContext3D(
bool lose_context_when_out_of_memory = false;
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context(
WebGraphicsContext3DCommandBufferImpl::CreateOffscreenContext(
- gpu_channel_host.get(),
- attributes,
- lose_context_when_out_of_memory,
- blink::WebStringToGURL(attributes.topDocumentURL),
- limits,
+ gpu_channel_host.get(), attributes, lose_context_when_out_of_memory,
+ attributes.topDocumentURL.utf8(), limits,
piman 2016/02/18 18:29:28 Is this equivalent, string.utf8() vs blink::WebStr
Mark Dittmer 2016/02/18 21:10:25 I'm having trouble reasoning about StringImpl and
static_cast<WebGraphicsContext3DCommandBufferImpl*>(share_context)));
// Most likely the GPU process exited and the attempt to reconnect to it
« content/renderer/pepper/ppb_graphics_3d_impl.cc ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698