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

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

Issue 2143323002: Remove WebPrivateOwnPtr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 5 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 00958716f6be3d78d3d3816f7e76e0222b25b575..6fd33f8ed7dcd1c640309e09850232951dfc62d6 100644
--- a/third_party/WebKit/Source/web/WebSurroundingText.cpp
+++ b/third_party/WebKit/Source/web/WebSurroundingText.cpp
@@ -36,6 +36,14 @@
namespace blink {
+WebSurroundingText::WebSurroundingText()
+{
+}
+
+WebSurroundingText::~WebSurroundingText()
+{
+}
+
void WebSurroundingText::initialize(const WebNode& webNode, const WebPoint& nodePoint, size_t maxLength)
{
const Node* node = webNode.constUnwrap<Node>();
@@ -82,9 +90,4 @@ bool WebSurroundingText::isNull() const
return !m_private.get();
}
-void WebSurroundingText::reset()
-{
- m_private.reset(0);
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/WebScopedWindowFocusAllowedIndicator.cpp ('k') | third_party/WebKit/public/blink_headers.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698