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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.cc

Issue 1951263003: Pepper: Add a nullptr check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/pepper/pepper_plugin_instance_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc
index 5b2757e8f5e3aa49b5675bbcf35d3f2a4006e5cb..20f8c57d99b544f336d5d0db9d4bc4c5002d65a9 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
@@ -823,7 +823,7 @@ void PepperPluginInstanceImpl::FinishedConsumingCommittedTexture(
return;
}
- if (removed && !is_committed_texture) {
+ if (removed && !is_committed_texture && bound_graphics_3d_) {
piman 2016/05/05 20:25:41 Actually, this makes me think a little more. If th
erikchen 2016/05/05 21:13:07 Yes, we should.
bound_graphics_3d_->ReturnFrontBuffer(texture_mailbox.mailbox(), sync_token,
is_lost);
}
« 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