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

Unified Diff: chrome/browser/renderer_host/render_widget_helper.cc

Issue 2835007: Revert 49984 - patch from issue 2762014 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 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 | « chrome/browser/cocoa/authorization_util.mm ('k') | libjingle.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_widget_helper.cc
===================================================================
--- chrome/browser/renderer_host/render_widget_helper.cc (revision 49999)
+++ chrome/browser/renderer_host/render_widget_helper.cc (working copy)
@@ -296,8 +296,7 @@
i = allocated_dibs_.find(dib_id);
if (i != allocated_dibs_.end()) {
- if (HANDLE_EINTR(close(i->second)) < 0)
- PLOG(ERROR) << "close";
+ HANDLE_EINTR(close(i->second));
allocated_dibs_.erase(i);
} else {
DLOG(WARNING) << "Renderer asked us to free unknown transport DIB";
@@ -307,8 +306,7 @@
void RenderWidgetHelper::ClearAllocatedDIBs() {
for (std::map<TransportDIB::Id, int>::iterator
i = allocated_dibs_.begin(); i != allocated_dibs_.end(); ++i) {
- if (HANDLE_EINTR(close(i->second)) < 0)
- PLOG(ERROR) << "close: " << i->first;
+ HANDLE_EINTR(close(i->second));
}
allocated_dibs_.clear();
« no previous file with comments | « chrome/browser/cocoa/authorization_util.mm ('k') | libjingle.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698