Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
index 6b0a0edc9c8a29c5891c186b0a702465493e72b6..2a23e42732c35eea6bfa9e9388161fd933e740c6 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
@@ -210,9 +210,10 @@ static void updateMarkerRenderedRect(const Node& node, |
DummyExceptionStateForTesting exceptionState; |
range->setStart(&const_cast<Node&>(node), marker.startOffset(), |
exceptionState); |
- if (!exceptionState.hadException()) |
+ if (!exceptionState.hadException()) { |
range->setEnd(&const_cast<Node&>(node), marker.endOffset(), |
- IGNORE_EXCEPTION); |
+ IGNORE_EXCEPTION_FOR_TESTING); |
+ } |
if (!exceptionState.hadException()) { |
// TODO(yosin): Once we have a |EphemeralRange| version of |boundingBox()|, |
// we should use it instead of |Range| version. |