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

Unified Diff: chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm

Issue 1204473003: Fixed the copy link issue in the sad tab view (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm b/chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm
index ff148e0050b911159d9449f3a9b7d2c45a2be82e..b5e2d2f29795e8e8dc256e55fe9886c938045918 100644
--- a/chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm
+++ b/chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm
@@ -17,6 +17,7 @@
#include "ui/base/l10n/l10n_util_mac.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/image/image.h"
+#include "url/gurl.h"
// Maximum width used by page contents.
static const CGFloat kMaxContainerWidth = 600;
@@ -181,7 +182,7 @@ static const CGFloat kMaxTopMargin = 130;
withFont:helpFont
messageColor:[message_ textColor]];
[help_ addLinkRange:NSMakeRange(linkOffset, helpLink.length())
- withName:@""
+ withName:[NSString stringWithUTF8String:chrome::kCrashReasonURL]
linkColor:[message_ textColor]];
[help_ setAlignment:NSLeftTextAlignment];
[help_ sizeToFit];
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698