summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_widget.cc
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-05 00:07:53 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-05 00:07:53 +0000
commit22d2240e40cb7138bb1c31def31195af899c726b (patch)
tree5a49eeaf7eadcf692f33baf8a66c73c397f3f5fe /chrome/renderer/render_widget.cc
parent3a051a4b8a96fb3edd00ebddcd5eb48e8ecf4396 (diff)
downloadchromium_src-22d2240e40cb7138bb1c31def31195af899c726b.zip
chromium_src-22d2240e40cb7138bb1c31def31195af899c726b.tar.gz
chromium_src-22d2240e40cb7138bb1c31def31195af899c726b.tar.bz2
Don't try to ReleaseTransportDIB() the dibs that come from pepper
This fixes http://code.google.com/p/chromium/issues/detail?id=57906 that was introduced by http://codereview.chromium.org/3506007/show BUG=57906 TEST=see bug. Go to http://www.flashtexteditor.com/ with pepper flash and observe no crash Review URL: http://codereview.chromium.org/3616005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_widget.cc')
-rw-r--r--chrome/renderer/render_widget.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/renderer/render_widget.cc b/chrome/renderer/render_widget.cc
index 3293589..90447c4 100644
--- a/chrome/renderer/render_widget.cc
+++ b/chrome/renderer/render_widget.cc
@@ -315,7 +315,6 @@ void RenderWidget::OnDoneUsingBitmap(TransportDIB::Id id) {
current_paint_bufs_.erase(it);
return;
}
- NOTREACHED() << "Browser returned unexpected TransportDIB to renderer";
}
void RenderWidget::OnUpdateRectAck() {
@@ -527,7 +526,6 @@ void RenderWidget::DoDeferredUpdate() {
!is_gpu_rendering_active_ &&
GetBitmapForOptimizedPluginPaint(bounds, &dib, &optimized_copy_location,
&optimized_copy_rect)) {
- current_paint_bufs_.insert(std::make_pair(dib->id(), dib));
bounds = optimized_copy_location;
copy_rects.push_back(optimized_copy_rect);
dib_id = dib->id();