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

Issue 8305012: Remove deprecated WebClipboard::readHTML method. (Closed)

Created:
9 years, 2 months ago by dcheng
Modified:
9 years, 2 months ago
Reviewers:
tony
CC:
chromium-reviews, pam+watch_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Remove deprecated WebClipboard::readHTML method. Now that WebKit r97497 is rolled into Chromium, we no longer need the legacy interface. As a bonus, the last of the Clipboard::readHTML crashes should be fixed. BUG=19360 TEST=ui_unittests and WebKit layout tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105611

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -39 lines) Patch
M ui/base/clipboard/clipboard_win.cc View 1 1 chunk +16 lines, -11 lines 0 comments Download
M webkit/glue/webclipboard_impl.h View 1 chunk +0 lines, -4 lines 0 comments Download
M webkit/glue/webclipboard_impl.cc View 1 chunk +0 lines, -17 lines 0 comments Download
M webkit/tools/test_shell/mock_webclipboard_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/mock_webclipboard_impl.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
dcheng
9 years, 2 months ago (2011-10-14 23:05:22 UTC) #1
tony
9 years, 2 months ago (2011-10-14 23:11:40 UTC) #2
lgtm

http://codereview.chromium.org/8305012/diff/1/ui/base/clipboard/clipboard_win.cc
File ui/base/clipboard/clipboard_win.cc (right):

http://codereview.chromium.org/8305012/diff/1/ui/base/clipboard/clipboard_win...
ui/base/clipboard/clipboard_win.cc:464: DCHECK((end_index - html_start) <=
kuint32max);
Do we also need to check that start_index - html_start > 0 and end_index -
html_start > 0?

Powered by Google App Engine
This is Rietveld 408576698