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

Issue 152983002: Devirtualize offsetInCharacters (Closed)

Created:
6 years, 10 months ago by rwlbuis
Modified:
5 years, 11 months ago
Reviewers:
adamk
CC:
blink-reviews, dglazkov+blink, sof, eae+blinkwatch, adamk+blink_chromium.org, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Devirtualize offsetInCharacters This method does not need to be virtual since we can just ask isCharacterDataNode(), since only for CharacterData nodes offsetInCharacters was returning true.

Patch Set 1 #

Patch Set 2 : Patch for landing #

Patch Set 3 : Rebase against ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -8 lines) Patch
M Source/core/dom/CharacterData.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/dom/CharacterData.cpp View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/dom/Node.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Node.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (10 generated)
rwlbuis
PTAL. It basically replaces one virtual call with another virtual call, but it does decrease ...
6 years ago (2014-12-19 16:41:14 UTC) #2
adamk
lgtm This seems clear enough, and slightly reducing the set of methods one has to ...
6 years ago (2014-12-19 18:34:15 UTC) #3
rwlbuis
On 2014/12/19 18:34:15, adamk wrote: > lgtm > > This seems clear enough, and slightly ...
6 years ago (2014-12-19 18:35:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/152983002/1
6 years ago (2014-12-19 18:36:36 UTC) #6
commit-bot: I haz the power
Failed to apply patch for Source/core/dom/CharacterData.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years ago (2014-12-19 18:36:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/152983002/120001
6 years ago (2014-12-19 18:45:47 UTC) #10
commit-bot: I haz the power
6 years ago (2014-12-19 18:48:39 UTC) #12
Try jobs failed on following builders:
  android_blink_compile_dbg on tryserver.blink
(http://build.chromium.org/p/tryserver.blink/builders/android_blink_compile_db...)
  android_blink_compile_rel on tryserver.blink
(http://build.chromium.org/p/tryserver.blink/builders/android_blink_compile_re...)
  mac_blink_rel on tryserver.blink
(http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/36282)
  win_blink_compile_dbg on tryserver.blink
(http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/bu...)

Powered by Google App Engine
This is Rietveld 408576698