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

Unified Diff: Source/core/dom/DocumentMarkerControllerTest.cpp

Issue 224113002: Oilpan: move Range object to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use STACK_ALLOCATED() + incorporate ager's overview of macros in this area. Created 6 years, 9 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: Source/core/dom/DocumentMarkerControllerTest.cpp
diff --git a/Source/core/dom/DocumentMarkerControllerTest.cpp b/Source/core/dom/DocumentMarkerControllerTest.cpp
index 463934903bc050eb0c297f0d01b52fc9a39ddad0..ebce3631787e330fdfd48eb1b0cd83698f7cf970 100644
--- a/Source/core/dom/DocumentMarkerControllerTest.cpp
+++ b/Source/core/dom/DocumentMarkerControllerTest.cpp
@@ -79,7 +79,7 @@ void DocumentMarkerControllerTest::markNodeContents(PassRefPtr<Node> node)
// Force renderers to be created; TextIterator, which is used in
// DocumentMarkerControllerTest::addMarker(), needs them.
document().updateLayout();
- RefPtr<Range> range = rangeOfContents(node.get());
+ RefPtrWillBeRawPtr<Range> range = rangeOfContents(node.get());
markerController().addMarker(range.get(), DocumentMarker::Spelling);
}

Powered by Google App Engine
This is Rietveld 408576698