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

Issue 1951263003: Pepper: Add a nullptr check. (Closed)

Created:
4 years, 7 months ago by erikchen
Modified:
4 years, 7 months ago
Reviewers:
piman
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pepper: Associate TextureMailboxes with the Graphics3D they were obtained from. This allows the TextureMailbox to be returned to the appropriate Graphics3D, which implicitly deals with trying to return a TextureMailbox to a null Graphics3D. BUG=602484 Committed: https://crrev.com/5fcc55335e3b5ba36a0de1a2e7a0976c859f6fff Cr-Commit-Position: refs/heads/master@{#391934}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Comments from piman@. #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -4 lines) Patch
M content/renderer/pepper/pepper_plugin_instance_impl.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 4 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
erikchen
piman: Please review. https://codereview.chromium.org/1951263003/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/1951263003/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode781 content/renderer/pepper/pepper_plugin_instance_impl.cc:781: bound_graphics_3d_->ReturnFrontBuffer( I don't think this one ...
4 years, 7 months ago (2016-05-05 20:15:29 UTC) #2
piman
https://codereview.chromium.org/1951263003/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/1951263003/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode826 content/renderer/pepper/pepper_plugin_instance_impl.cc:826: if (removed && !is_committed_texture && bound_graphics_3d_) { Actually, this ...
4 years, 7 months ago (2016-05-05 20:25:41 UTC) #3
erikchen
piman: PTAL https://codereview.chromium.org/1951263003/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/1951263003/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode826 content/renderer/pepper/pepper_plugin_instance_impl.cc:826: if (removed && !is_committed_texture && bound_graphics_3d_) { ...
4 years, 7 months ago (2016-05-05 21:13:08 UTC) #5
piman
lgtm
4 years, 7 months ago (2016-05-05 21:14:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1951263003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1951263003/40001
4 years, 7 months ago (2016-05-05 21:16:17 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-05 22:49:11 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/5fcc55335e3b5ba36a0de1a2e7a0976c859f6fff Cr-Commit-Position: refs/heads/master@{#391934}
4 years, 7 months ago (2016-05-05 22:50:46 UTC) #12
ilja
4 years, 7 months ago (2016-05-10 02:16:43 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1963633003/ by ihf@chromium.org.

The reason for reverting is: Breaks WebGL on CrOS, crbug.com/610411..

Powered by Google App Engine
This is Rietveld 408576698