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

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

Issue 270573008: Oilpan: Prepare to support garbage-collected Node in WebNode hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add FIXME comments Created 6 years, 7 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
« no previous file with comments | « Source/web/WebTextAreaElement.cpp ('k') | Source/web/tests/TouchActionTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/TextFinderTest.cpp
diff --git a/Source/web/tests/TextFinderTest.cpp b/Source/web/tests/TextFinderTest.cpp
index c19649efcc9561718409dc4c01add8b864c8885e..f1084a00eedc58264c57ea7e266accda372c0789 100644
--- a/Source/web/tests/TextFinderTest.cpp
+++ b/Source/web/tests/TextFinderTest.cpp
@@ -34,7 +34,7 @@ protected:
private:
FrameTestHelpers::WebViewHelper m_webViewHelper;
- RefPtr<Document> m_document;
+ RefPtrWillBePersistent<Document> m_document;
TextFinder* m_textFinder;
};
@@ -43,7 +43,7 @@ void TextFinderTest::SetUp()
m_webViewHelper.initialize();
WebLocalFrameImpl& frameImpl = *m_webViewHelper.webViewImpl()->mainFrameImpl();
frameImpl.viewImpl()->resize(WebSize(640, 480));
- m_document = PassRefPtr<Document>(frameImpl.document());
+ m_document = PassRefPtrWillBeRawPtr<Document>(frameImpl.document());
m_textFinder = &frameImpl.ensureTextFinder();
}
« no previous file with comments | « Source/web/WebTextAreaElement.cpp ('k') | Source/web/tests/TouchActionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698