Index: chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm |
diff --git a/chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm b/chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm |
index a282fabd3ea0fea76a4cd8758af928cdd2723ca8..9c8cf5c654b5453c1f2307c67fdaacdd415ce172 100644 |
--- a/chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm |
+++ b/chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm |
@@ -14,7 +14,6 @@ |
#include "base/threading/thread.h" |
#include "base/threading/thread_restrictions.h" |
#include "base/utf_string_conversions.h" |
-#import "chrome/app/breakpad_mac.h" |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/download/download_util.h" |
#include "chrome/browser/tab_contents/tab_contents_view_mac.h" |
@@ -57,12 +56,6 @@ FilePath FilePathFromFilename(const string16& filename) { |
// TODO(viettrungluu): Refactor to make it common across platforms, |
// and move it somewhere sensible. |
FilePath GetFileNameFromDragData(const WebDropData& drop_data) { |
- // Set a breakpad key for the scope of this function to help debug |
- // http://crbug.com/78782 |
- static NSString* const kUrlKey = @"drop_data_url"; |
- NSString* value = SysUTF8ToNSString(drop_data.url.spec()); |
- base::mac::ScopedCrashKey key(kUrlKey, value); |
- |
// Images without ALT text will only have a file extension so we need to |
// synthesize one from the provided extension and URL. |
FilePath file_name(FilePathFromFilename(drop_data.file_description_filename)); |