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

Unified Diff: third_party/WebKit/Source/core/editing/Position.cpp

Issue 2931443003: Add support for Android spellcheck menu in Chrome/WebViews (Closed)
Patch Set: Use correct base commit Created 3 years, 6 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
Index: third_party/WebKit/Source/core/editing/Position.cpp
diff --git a/third_party/WebKit/Source/core/editing/Position.cpp b/third_party/WebKit/Source/core/editing/Position.cpp
index 6b58eb430417d009ca5569b0c701b265a1a73bdf..84a71c086463700e087b855d55c7e1cb7c1c33f0 100644
--- a/third_party/WebKit/Source/core/editing/Position.cpp
+++ b/third_party/WebKit/Source/core/editing/Position.cpp
@@ -150,6 +150,7 @@ PositionTemplate<Strategy>::PositionTemplate(const PositionTemplate& other)
template <typename Strategy>
Node* PositionTemplate<Strategy>::ComputeContainerNode() const {
+ TRACE_EVENT0("blink", "Position::ComputeContainerNode");
if (!anchor_node_)
return 0;
@@ -181,6 +182,7 @@ static int MinOffsetForNode(Node* anchor_node, int offset) {
template <typename Strategy>
int PositionTemplate<Strategy>::ComputeOffsetInContainerNode() const {
+ TRACE_EVENT0("blink", "Position::ComputeOffsetInContainerNode");
if (!anchor_node_)
return 0;

Powered by Google App Engine
This is Rietveld 408576698