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; |