Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / base / files / file.cc
index 2a2f843..da261d6 100644 (file)
@@ -60,6 +60,8 @@ File::File(RValue other)
 }
 
 File::~File() {
+  // Go through the AssertIOAllowed logic.
+  Close();
 }
 
 File& File::operator=(RValue other) {