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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 10766008: Avoid SEGVing in WebGraphicsContext3DCommandBufferImpl::IsCommandBufferContextLost() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 19e02596992b6b79122616234bda21a0afe0ba02..d1108ad251b48cc1970a04cd29a0b86cde901ebd 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -732,8 +732,7 @@ base::WeakPtr<WebGraphicsContext3DCommandBufferImpl>
RenderThreadImpl::GetGpuVDAContext3D() {
// If we already handed out a pointer to a context and it's been lost, create
// a new one.
- if (gpu_vda_context3d_.get() &&
- gpu_vda_context3d_->IsCommandBufferContextLost()) {
+ if (gpu_vda_context3d_.get() && gpu_vda_context3d_->isContextLost()) {
if (compositor_thread()) {
compositor_thread()->GetWebThread()->message_loop()->DeleteSoon(
FROM_HERE, gpu_vda_context3d_.release());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698