summaryrefslogtreecommitdiffstats
path: root/chrome/common/transport_dib_mac.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/transport_dib_mac.cc')
-rw-r--r--chrome/common/transport_dib_mac.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/common/transport_dib_mac.cc b/chrome/common/transport_dib_mac.cc
index 63c38cf..59b9433 100644
--- a/chrome/common/transport_dib_mac.cc
+++ b/chrome/common/transport_dib_mac.cc
@@ -8,7 +8,6 @@
#include <sys/stat.h>
#include "base/eintr_wrapper.h"
-#include "base/logging.h"
#include "base/shared_memory.h"
#include "skia/ext/platform_canvas.h"
@@ -41,8 +40,7 @@ TransportDIB* TransportDIB::Create(size_t size, uint32 sequence_num) {
TransportDIB* TransportDIB::Map(TransportDIB::Handle handle) {
TransportDIB* dib = new TransportDIB(handle);
struct stat st;
- int result = fstat(handle.fd, &st);
- DCHECK_EQ(result, 0) << "fstat failed";
+ fstat(handle.fd, &st);
if (!dib->shared_memory_.Map(st.st_size)) {
delete dib;