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

Unified Diff: content/common/webkitplatformsupport_impl.cc

Issue 11434072: Send notification from GPU process to browser process of offscreen context creation and destruction… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed apatrick's review feedback. Renamed containing_document_url. Created 8 years 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/common/webkitplatformsupport_impl.cc
diff --git a/content/common/webkitplatformsupport_impl.cc b/content/common/webkitplatformsupport_impl.cc
index 991dc1e13d032c3f5f88a200659834b16506a55b..9344e49112605e139e5041c5615036a453575752 100644
--- a/content/common/webkitplatformsupport_impl.cc
+++ b/content/common/webkitplatformsupport_impl.cc
@@ -68,10 +68,9 @@ WebKitPlatformSupportImpl::createOffscreenGraphicsContext3D(
return webkit::gpu::WebGraphicsContext3DInProcessImpl::CreateForWebView(
attributes, false);
} else {
- // Intentionally blank URL provided for offscreen contexts -- blank URLs are
- // ignored in the GPU process for crash reporting.
return WebGraphicsContext3DCommandBufferImpl::CreateOffscreenContext(
- GetGpuChannelHostFactory(), attributes, GURL());
+ GetGpuChannelHostFactory(), attributes,
+ attributes.topDocumentURL);
}
}
« content/browser/gpu/gpu_process_host.cc ('K') | « content/common/gpu/gpu_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698