Index: content/browser/renderer_host/pepper_file_message_filter.cc |
diff --git a/content/browser/renderer_host/pepper_file_message_filter.cc b/content/browser/renderer_host/pepper_file_message_filter.cc |
index 5c84a8cd71e7217cf64829d9577179b00144379d..f8367fc8095b8531fa2dffbe29e276aa373c8ec1 100644 |
--- a/content/browser/renderer_host/pepper_file_message_filter.cc |
+++ b/content/browser/renderer_host/pepper_file_message_filter.cc |
@@ -222,16 +222,10 @@ FilePath PepperFileMessageFilter::ValidateAndConvertPepperFilePath( |
FilePath file_path; // Empty path returned on error. |
switch(pepper_path.domain()) { |
case webkit::ppapi::PepperFilePath::DOMAIN_ABSOLUTE: |
-// TODO(viettrungluu): This could be dangerous if not 100% right, so let's be |
-// conservative and only enable it when requested. |
-#if defined(ENABLE_FLAPPER_HACKS) |
if (pepper_path.path().IsAbsolute() && |
ChildProcessSecurityPolicy::GetInstance()->HasPermissionsForFile( |
child_id(), pepper_path.path(), flags)) |
file_path = pepper_path.path(); |
-#else |
- NOTIMPLEMENTED(); |
-#endif // ENABLE_FLAPPER_HACKS |
break; |
case webkit::ppapi::PepperFilePath::DOMAIN_MODULE_LOCAL: |
if (!pepper_path.path().IsAbsolute() && |