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

Unified Diff: Source/web/tests/WebFrameTest.cpp

Issue 224113002: Oilpan: move Range object to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: heap/Handle.h => platform/heap/Handle.h 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/web/tests/WebFrameTest.cpp
diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
index 7fccce6d6c5705ab477f68b08a6af83cb7e7a262..8e2cfe7cb04fbb6b23d71baaa0615f94f08cd0a1 100644
--- a/Source/web/tests/WebFrameTest.cpp
+++ b/Source/web/tests/WebFrameTest.cpp
@@ -4220,7 +4220,7 @@ TEST_F(WebFrameTest, ReplaceMisspelledRange)
const int allTextBeginOffset = 0;
const int allTextLength = 11;
frame->selectRange(WebRange::fromDocumentRange(frame, allTextBeginOffset, allTextLength));
- RefPtr<Range> selectionRange = frame->frame()->selection().toNormalizedRange();
+ RefPtrWillBeRawPtr<Range> selectionRange = frame->frame()->selection().toNormalizedRange();
EXPECT_EQ(1, spellcheck.numberOfTimesChecked());
EXPECT_EQ(1U, document->markers().markersInRange(selectionRange.get(), DocumentMarker::Spelling).size());
@@ -4253,7 +4253,7 @@ TEST_F(WebFrameTest, RemoveSpellingMarkers)
const int allTextBeginOffset = 0;
const int allTextLength = 11;
frame->selectRange(WebRange::fromDocumentRange(frame, allTextBeginOffset, allTextLength));
- RefPtr<Range> selectionRange = frame->frame()->selection().toNormalizedRange();
+ RefPtrWillBeRawPtr<Range> selectionRange = frame->frame()->selection().toNormalizedRange();
EXPECT_EQ(0U, document->markers().markersInRange(selectionRange.get(), DocumentMarker::Spelling).size());
}

Powered by Google App Engine
This is Rietveld 408576698