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

Unified Diff: Source/core/dom/Node.h

Issue 792953006: Devirtualize offsetInCharacters (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 | « Source/core/dom/CharacterData.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index c5abc31ec01f3f41501c1f6f87ed2e537a8e3c8f..ce184d2759dbc38613399c726f8c57ea865045a3 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -489,7 +489,7 @@ public:
Node* commonAncestor(const Node&, Node* (*parent)(const Node&));
// Used to determine whether range offsets use characters or node indices.
- virtual bool offsetInCharacters() const;
+ bool offsetInCharacters() const;
// Number of DOM 16-bit units contained in node. Note that rendered text length can be different - e.g. because of
// css-transform:capitalize breaking up precomposed characters and ligatures.
virtual int maxCharacterOffset() const;
« no previous file with comments | « Source/core/dom/CharacterData.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698