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

Issue 2784243002: Get rid of computeVisibleSelectionInDOMTreeDeprecated() from WebViewImpl::selectionBounds() (Closed)

Created:
3 years, 8 months ago by yosin_UTC9
Modified:
3 years, 8 months ago
Reviewers:
tkent
CC:
alancutter (OOO until 2018), blink-reviews, chromium-reviews, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Get rid of computeVisibleSelectionInDOMTreeDeprecated() from WebViewImpl::selectionBounds() This patch gets rid of |computeVisibleSelectionInDOMTreeDeprecated()| by moving |updateStyleAndLayoutIgnorePendingStylesheets()| before using |VisibleSelection| and checking DOM based empty-selection before updating layout. When selection is empty in DOM tree, e.g. selection.base().isNull(), it can not be non-null on |VisibleSelection|. This patch is a part of workaround of [1] for merging. [1] http://crbug.com/704763 Opacity animation consuming main thread resources BUG=698633, 704763 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2784243002 Cr-Commit-Position: refs/heads/master@{#460710} Committed: https://chromium.googlesource.com/chromium/src/+/8202d740b1c09787cdd3e11d3d15e7211b88f15e

Patch Set 1 : 2017-03-30T16:04:49 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (13 generated)
yosin_UTC9
PTAL
3 years, 8 months ago (2017-03-30 08:30:27 UTC) #10
tkent
lgtm
3 years, 8 months ago (2017-03-30 08:40:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2784243002/1
3 years, 8 months ago (2017-03-30 08:59:18 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 09:20:49 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/8202d740b1c09787cdd3e11d3d15...

Powered by Google App Engine
This is Rietveld 408576698