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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp

Issue 2615953003: Rename IGNORE_EXCEPTION to IGNORE_EXCEPTION_FOR_TESTING (Closed)
Patch Set: temp Created 3 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
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.

Powered by Google App Engine
This is Rietveld 408576698