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

Unified Diff: third_party/WebKit/Source/web/WebSurroundingText.cpp

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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/web/WebSurroundingText.cpp
diff --git a/third_party/WebKit/Source/web/WebSurroundingText.cpp b/third_party/WebKit/Source/web/WebSurroundingText.cpp
index 82fd5b0700a9f97a3f2bcd87792e8d8f02cce5bf..00958716f6be3d78d3d3816f7e76e0222b25b575 100644
--- a/third_party/WebKit/Source/web/WebSurroundingText.cpp
+++ b/third_party/WebKit/Source/web/WebSurroundingText.cpp
@@ -47,7 +47,7 @@ void WebSurroundingText::initialize(const WebNode& webNode, const WebPoint& node
void WebSurroundingText::initialize(const WebRange& webRange, size_t maxLength)
{
- if (RawPtr<Range> range = static_cast<RawPtr<Range>>(webRange))
+ if (Range* range = static_cast<Range*>(webRange))
m_private.reset(new SurroundingText(*range, maxLength));
}
« no previous file with comments | « third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp ('k') | third_party/WebKit/Source/web/WebTextCheckingCompletionImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698