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

Issue 6580: clipboard_mac (Closed)

Created:
12 years, 2 months ago by Mark Mentovai
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Base URL:
svn://chrome-svn.corp.google.com/chrome/trunk/src/
Visibility:
Public.

Description

Make Mac clipboard code tolerant of nil clipboard without crashing. Add a DCHECK to catch this case, and clean up some of the clipboard code. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=3051

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -30 lines) Patch
M base/clipboard_mac.mm View 1 3 8 chunks +44 lines, -30 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mark Mentovai
Most of the string operations in this file were safe. Specifically, anything that goes to ...
12 years, 2 months ago (2008-10-08 14:27:22 UTC) #1
Avi (use Gerrit)
http://codereview.chromium.org/6580/diff/1/2 File base/clipboard_mac.mm (right): http://codereview.chromium.org/6580/diff/1/2#newcode17 Line 17: NSString* NSStringForWString(const std::wstring& string) { Can we use ...
12 years, 2 months ago (2008-10-08 14:48:09 UTC) #2
Mark Mentovai
Jeremy's out today. Avi, you can do the review.
12 years, 2 months ago (2008-10-08 19:40:29 UTC) #3
Avi (use Gerrit)
12 years, 2 months ago (2008-10-08 20:04:54 UTC) #4
Apart from that, lgtm

http://codereview.chromium.org/6580/diff/202/6
File base/clipboard_mac.mm (right):

http://codereview.chromium.org/6580/diff/202/6#newcode18
Line 18: NSString* NSStringForWString(const std::wstring& string) {
Can we use the SysWideToNSString just added in issue 6355's
sys_string_conversions?

Powered by Google App Engine
This is Rietveld 408576698